mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 16:29:51 +00:00
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:
@@ -1660,7 +1660,7 @@ static int CreateGLXPixmap(__GLXclientState *cl,
|
||||
return BadMatch;
|
||||
}
|
||||
|
||||
if (fbconfigId == NULL && visual == NULL) {
|
||||
if (fbconfigId == 0 && visual == 0) {
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user