mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-28 12:45:56 +08:00
added glutGetProcAddress in DMesaGLUT
This commit is contained in:
parent
4c7883e402
commit
61bc62cc40
@ -248,7 +248,7 @@ v1.5 (jan-2004)
|
||||
x more changes to the 3dfx driver
|
||||
|
||||
v1.6 (???-2004)
|
||||
+ added DMesaGetProcAddress
|
||||
+ added DMesaGetProcAddress and glutGetProcAddress
|
||||
! fixed a horrible bug in VGA initialization routine
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* DOS/DJGPP glut driver v1.3 for Mesa
|
||||
* DOS/DJGPP glut driver v1.4 for Mesa
|
||||
*
|
||||
* Copyright (C) 2002 - Borca Daniel
|
||||
* Email : dborca@yahoo.com
|
||||
@ -29,8 +29,9 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "GL/glut.h"
|
||||
#include <GL/glut.h>
|
||||
|
||||
#include "GL/dmesa.h"
|
||||
|
||||
|
||||
int APIENTRY glutExtensionSupported (const char *extension)
|
||||
@ -61,3 +62,11 @@ int APIENTRY glutExtensionSupported (const char *extension)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void * APIENTRY
|
||||
glutGetProcAddress (const char *procName)
|
||||
{
|
||||
/* TODO - handle glut namespace */
|
||||
return DMesaGetProcAddress(procName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user