mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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
0244eccfe3
commit
7d206ccdbb
@ -225,7 +225,7 @@ get_fbconfig_for_depth (unsigned int depth,
|
|||||||
GLXFBConfig *fbconfig_ret,
|
GLXFBConfig *fbconfig_ret,
|
||||||
gboolean *can_mipmap_ret)
|
gboolean *can_mipmap_ret)
|
||||||
{
|
{
|
||||||
GLXFBConfig *fbconfigs, ret = None;
|
GLXFBConfig *fbconfigs, ret = NULL;
|
||||||
int n_elements, i, found;
|
int n_elements, i, found;
|
||||||
Display *dpy;
|
Display *dpy;
|
||||||
int db, stencil, alpha, mipmap, rgba, value;
|
int db, stencil, alpha, mipmap, rgba, value;
|
||||||
|
Loading…
Reference in New Issue
Block a user