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 e9fa68fbdd
commit db47e90829

View File

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