Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-12 05:18:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-12 05:19:46 +0300
commit7eecc9407415e18eaab2ded2fcc883edbf58c633 (patch)
tree0ca4e707c50ea1d6c86ce61cf0f3498f4a7b3373 /source/blender/gpu/intern/gpu_viewport.c
parentbaca8344d997e0a7c6f5f1833cd5b734b5e680da (diff)
Cleanup: use uint/uchar types in GPU
Diffstat (limited to 'source/blender/gpu/intern/gpu_viewport.c')
-rw-r--r--source/blender/gpu/intern/gpu_viewport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c
index 5d495779ba1..fe98477f28c 100644
--- a/source/blender/gpu/intern/gpu_viewport.c
+++ b/source/blender/gpu/intern/gpu_viewport.c
@@ -76,7 +76,7 @@ struct GPUViewport {
int flag;
ListBase data; /* ViewportEngineData wrapped in LinkData */
- unsigned int data_hash; /* If hash mismatch we free all ViewportEngineData in this viewport */
+ uint data_hash; /* If hash mismatch we free all ViewportEngineData in this viewport */
DefaultFramebufferList *fbl;
DefaultTextureList *txl;
@@ -360,7 +360,7 @@ static void gpu_viewport_texture_pool_free(GPUViewport *viewport)
BLI_freelistN(&viewport->tex_pool);
}
-bool GPU_viewport_engines_data_validate(GPUViewport *viewport, unsigned int hash)
+bool GPU_viewport_engines_data_validate(GPUViewport *viewport, uint hash)
{
bool dirty = false;