Q) What is NUL driver good for, if I don't get any output at all?
A) For debugging. The NUL driver is very much like OSMesa. Everything is
- done just the same as VESA/VGA drivers, only it doesn't touches your
- video hardware. You can query the actual buffer by issuing:
+ done just the same as VESA/VGA drivers, only it doesn't touch your video
+ hardware. You can query the actual buffer by issuing:
DMesaGetIntegerv(DMESA_GET_BUFFER_ADDR, &buffer);
and dump it to a file.
void APIENTRY glutTimerFunc (unsigned int millis, GLUTtimerCB func, int value)
{
static GLUTSShotCB g_sscb[MAX_SSHOT_CB];
- static int virgin = GL_TRUE;
+ static GLboolean virgin = GL_TRUE;
int i;
int ttl;
#define LES(a, b) les b, a
#define LFS(a, b) lfs b, a
#define LGS(a, b) lgs b, a
-#define LSS(a, b) lss b, a
+#define LSS(a, b) lss b, P_(a)
#define LLDT(a) lldt a
#define LMSW(a) lmsw a
#define LOCK lock