__glXGetDrawableInfo. Make sure driCreateNewDrawable sets
pdraw->private to NULL for all failure paths.
__DRIdrawablePrivate *pdp;
+ pdraw->private = NULL;
+
/* Since pbuffers are not yet supported, no drawable attributes are
* supported either.
*/
#ifdef DRI_NEW_INTERFACE_ONLY
- if ( internal_api_version < 20040415 ) {
+ if ( internal_api_version < 20040602 ) {
fprintf( stderr, "libGL error: libGL.so version (%08u) is too old. "
- "20040415 or later is required.\n", internal_api_version );
+ "20040602 or later is required.\n", internal_api_version );
return NULL;
}
#else