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:
authorKen Hughes <khughes@pacific.edu>2007-03-17 17:15:02 +0300
committerKen Hughes <khughes@pacific.edu>2007-03-17 17:15:02 +0300
commit4e72e4ad2bf39bc9bb4209b4b2d0fae99127a3d9 (patch)
treea166660c3dcb8ce0db3d2a7230bcc6b75987bcae /source/blender/src/glutil.c
parentbd04d2346559c7a02883ff5ed62b0f4171dbe941 (diff)
Fix various gcc warning related to signed/unsigned parameters passed to
OpenGL functions.
Diffstat (limited to 'source/blender/src/glutil.c')
-rw-r--r--source/blender/src/glutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/glutil.c b/source/blender/src/glutil.c
index eddfa32739f..248d36dcb1e 100644
--- a/source/blender/src/glutil.c
+++ b/source/blender/src/glutil.c
@@ -232,7 +232,7 @@ static int get_cached_work_texture(int *w_r, int *h_r)
GLint ltexid= glaGetOneInteger(GL_TEXTURE_2D);
unsigned char *tbuf;
- glGenTextures(1, &texid);
+ glGenTextures(1, (GLuint *)&texid);
glBindTexture(GL_TEXTURE_2D, texid);