mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Handle escape to get opengl driver info in IntEngExtEscape to avoid the infinite loop in the UNIMPLEMENTED macro (needed by opengl32.dll)
svn path=/trunk/; revision=10176
This commit is contained in:
parent
a3a123ab31
commit
13bc74184a
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: print.c,v 1.20 2004/07/14 20:48:58 navaraf Exp $ */
|
/* $Id: print.c,v 1.21 2004/07/17 15:12:25 blight Exp $ */
|
||||||
#include <w32k.h>
|
#include <w32k.h>
|
||||||
|
|
||||||
INT
|
INT
|
||||||
|
@ -65,6 +65,9 @@ IntEngExtEscape(
|
||||||
INT OutSize,
|
INT OutSize,
|
||||||
LPVOID OutData)
|
LPVOID OutData)
|
||||||
{
|
{
|
||||||
|
if (Escape == 0x1101) /* Get OpenGL driver name */
|
||||||
|
return 0; /* use default driver */
|
||||||
|
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue