diff options
author | Ken Hughes <khughes@pacific.edu> | 2007-03-17 17:15:02 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2007-03-17 17:15:02 +0300 |
commit | 4e72e4ad2bf39bc9bb4209b4b2d0fae99127a3d9 (patch) | |
tree | a166660c3dcb8ce0db3d2a7230bcc6b75987bcae /source/blender/src/glutil.c | |
parent | bd04d2346559c7a02883ff5ed62b0f4171dbe941 (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.c | 2 |
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); |