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:
Neil Roberts 2010-06-22 14:10:44 +01:00
parent 0244eccfe3
commit 7d206ccdbb

View File

@ -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;