/* XXX need enums/tokens! */
-extern Bool glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
-extern Bool glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer);
+extern void glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
+extern void glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer);
#endif /* GLX_EXT_texture_from_pixmap */
}
/*@}*/
-PUBLIC Bool glXBindTexImageEXT(Display *dpy,
+PUBLIC void glXBindTexImageEXT(Display *dpy,
GLXDrawable drawable,
int buffer,
const int *attrib_list)
unsigned int i;
if (gc == NULL)
- return False;
+ return;
i = 0;
if (attrib_list) {
#ifdef GLX_DIRECT_RENDERING
if (gc->isDirect)
- return False;
+ return;
#endif
opcode = __glXSetupForCommand(dpy);
if (!opcode)
- return False;
+ return;
LockDisplay(dpy);
GetReqExtra(GLXVendorPrivate, 12 + 8 * i,req);
UnlockDisplay(dpy);
SyncHandle();
-
- return True;
}
-PUBLIC Bool glXReleaseTexImageEXT(Display *dpy,
+PUBLIC void glXReleaseTexImageEXT(Display *dpy,
GLXDrawable drawable,
int buffer)
{
CARD8 opcode;
if (gc == NULL)
- return False;
+ return;
#ifdef GLX_DIRECT_RENDERING
if (gc->isDirect)
- return False;
+ return;
#endif
opcode = __glXSetupForCommand(dpy);
if (!opcode)
- return False;
+ return;
LockDisplay(dpy);
GetReqExtra(GLXVendorPrivate, sizeof(CARD32)+sizeof(INT32),req);
UnlockDisplay(dpy);
SyncHandle();
-
- return True;
}
/**