|
Lines 79-84
Link Here
|
| 79 |
(PFNGLXSCRENABLEEXTENSIONPROC) (*dri_interface->getProcAddress("glxEnableExtension")); |
79 |
(PFNGLXSCRENABLEEXTENSIONPROC) (*dri_interface->getProcAddress("glxEnableExtension")); |
| 80 |
void * const psc = sPriv->psc->screenConfigs; |
80 |
void * const psc = sPriv->psc->screenConfigs; |
| 81 |
|
81 |
|
|
|
82 |
if (sPriv->devPrivSize != sizeof(I830DRIRec)) { |
| 83 |
fprintf(stderr,"\nERROR! sizeof(I830DRIRec) does not match passed size from 2D driver\n"); |
| 84 |
return GL_FALSE; |
| 85 |
} |
| 82 |
|
86 |
|
| 83 |
/* Allocate the private area */ |
87 |
/* Allocate the private area */ |
| 84 |
intelScreen = (intelScreenPrivate *)CALLOC(sizeof(intelScreenPrivate)); |
88 |
intelScreen = (intelScreenPrivate *)CALLOC(sizeof(intelScreenPrivate)); |