glxproxy: warning fix
glxcmds.c: In function ‘CreateGLXPixmap’: glxcmds.c:1663:20: warning: comparison between pointer and integer glxcmds.c:1663:38: warning: comparison between pointer and integer Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e1b5d3e5e7
commit
5d0910b4fd
@ -1660,7 +1660,7 @@ static int CreateGLXPixmap(__GLXclientState *cl,
|
||||
return BadMatch;
|
||||
}
|
||||
|
||||
if (fbconfigId == NULL && visual == NULL) {
|
||||
if (fbconfigId == 0 && visual == 0) {
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user