From 61bc62cc40764b58ac8bceb48a579534841fca93 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Mon, 2 Feb 2004 07:47:23 +0000 Subject: added glutGetProcAddress in DMesaGLUT --- src/glut/dos/extens.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/glut/dos') diff --git a/src/glut/dos/extens.c b/src/glut/dos/extens.c index bc6cfe0f5f..a77eb910b3 100644 --- a/src/glut/dos/extens.c +++ b/src/glut/dos/extens.c @@ -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 -#include "GL/glut.h" +#include +#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); +} -- cgit v1.2.3