diff options
author | Brian Paul <[email protected]> | 2000-02-17 20:53:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-17 20:53:48 +0000 |
commit | 21ab2588217e89f950bff32c386525292f9f773e (patch) | |
tree | 335097a3539c32e6228fae896f4aa1c03b11f56e /src/mesa/main/dd.h | |
parent | b6273023a22dd971b1c2ad7f7aa4ffadfaee18f1 (diff) |
removed driver RendererString() and ExtensionString() funcs
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 2c6ae5ef375..63dcd6fdb38 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,4 +1,4 @@ -/* $Id: dd.h,v 1.9 2000/01/06 09:28:07 brianp Exp $ */ +/* $Id: dd.h,v 1.10 2000/02/17 20:53:48 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -139,12 +139,10 @@ struct dd_function_table { *** every device driver. *** **********************************************************************/ - const char * (*RendererString)(void); - /* - * Return a string which uniquely identifies this device driver. - * The string should contain no whitespace. Examples: "X11", "OffScreen", - * "MSWindows", "SVGA". - * NOTE: This function will be obsolete in favor of GetString in the future! + const GLubyte * (*GetString)( GLcontext *ctx, GLenum name ); + /* Return a string as needed by glGetString(). + * Only the GL_RENDERER token must be implemented. Otherwise, + * NULL can be returned. */ void (*UpdateState)( GLcontext *ctx ); @@ -328,17 +326,6 @@ struct dd_function_table { *** fall-back function. *** **********************************************************************/ - const char * (*ExtensionString)( GLcontext *ctx ); - /* Return a space-separated list of extensions for this driver. - * NOTE: This function will be obsolete in favor of GetString in the future! - */ - - const GLubyte * (*GetString)( GLcontext *ctx, GLenum name ); - /* Return a string as needed by glGetString(). - * NOTE: This will replace the ExtensionString and RendererString - * functions in the future! - */ - void (*Finish)( GLcontext *ctx ); /* * This is called whenever glFinish() is called. |