cogl-texture-pixmap-x11: Use NULL instead of None for invalid GLXFBConfig
GLXFBConfigs are opaque pointers not XIDs so it doesn't make sense to return None from get_fbconfig_for_depth. Instead it now returns NULL.
This commit is contained in:
parent
e9fa68fbdd
commit
db47e90829
@ -225,7 +225,7 @@ get_fbconfig_for_depth (unsigned int depth,
|
||||
GLXFBConfig *fbconfig_ret,
|
||||
gboolean *can_mipmap_ret)
|
||||
{
|
||||
GLXFBConfig *fbconfigs, ret = None;
|
||||
GLXFBConfig *fbconfigs, ret = NULL;
|
||||
int n_elements, i, found;
|
||||
Display *dpy;
|
||||
int db, stencil, alpha, mipmap, rgba, value;
|
||||
|
Loading…
Reference in New Issue
Block a user