Changeset 322
- Timestamp:
- 03/20/09 17:36:03 (4 years ago)
- File:
-
- 1 edited
-
AppleSGLX/trunk/apple_glx.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
AppleSGLX/trunk/apple_glx.c
r296 r322 113 113 int major, minor, patch; 114 114 115 if(!XAppleDRIQueryExtension(dpy, &eventBase, &errorBase)) 116 return true; 117 118 if(!XAppleDRIQueryVersion(dpy, &major, &minor, &patch)) 119 return true; 120 115 121 if(initialized) 116 122 return false; … … 126 132 (void)apple_glx_get_client_id(); 127 133 128 if(!XAppleDRIQueryExtension(dpy, &eventBase, &errorBase))129 return true;130 131 if(!XAppleDRIQueryVersion(dpy, &major, &minor, &patch))132 return true;133 134 134 XAppleDRISetSurfaceNotifyHandler(surface_notify_handler); 135 135 136 /* This should really be per display. */ 136 137 dri_event_base = eventBase; 137 138 initialized = true;
Note: See TracChangeset
for help on using the changeset viewer.
