Warning fix (GL likes to call strings GLubyte * instead of char *).
Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
7be6520d94
commit
2c5bfffc83
|
@ -102,7 +102,7 @@ int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc,
|
||||||
CALL_by_offset(GET_DISPATCH(),
|
CALL_by_offset(GET_DISPATCH(),
|
||||||
(void (GLAPIENTRYP)(GLuint, GLenum, GLubyte *)),
|
(void (GLAPIENTRYP)(GLuint, GLenum, GLubyte *)),
|
||||||
get_program_string_offset,
|
get_program_string_offset,
|
||||||
(target, pname, answer));
|
(target, pname, (GLubyte *)answer));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (__glXErrorOccured()) {
|
if (__glXErrorOccured()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user