diff options
author | Brian Paul <[email protected]> | 2002-10-04 19:10:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-04 19:10:06 +0000 |
commit | fc80ad6e62fb2b53d53756593099330477a44c52 (patch) | |
tree | 0b47f3ee84d613dfa2264d6f23e5c2a60cecc9ba /src/mesa/main/dd.h | |
parent | f782b8189e718974a40d72ac4f6b8d213ca99e1e (diff) |
Changed a number of context fields from GLchan to GLfloat (such as ClearColor).
Also changed parameter types for some driver functions (like ctx->Driver.Clear-
Color). Updated all the device drivers.
Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 8f40846975e..fc02a15620b 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,4 +1,4 @@ -/* $Id: dd.h,v 1.72 2002/09/27 02:45:37 brianp Exp $ */ +/* $Id: dd.h,v 1.73 2002/10/04 19:10:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -409,22 +409,14 @@ struct dd_function_table { *** They're ALSO called by the gl_PopAttrib() function!!! *** May add more functions like these to the device driver in the future. ***/ -#if 1 - void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLchan ref); -#else void (*AlphaFunc)(GLcontext *ctx, GLenum func, GLfloat ref); -#endif void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]); void (*BlendEquation)(GLcontext *ctx, GLenum mode); void (*BlendFunc)(GLcontext *ctx, GLenum sfactor, GLenum dfactor); void (*BlendFuncSeparate)(GLcontext *ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA); -#if 1 - void (*ClearColor)(GLcontext *ctx, const GLchan color[4]); -#else void (*ClearColor)(GLcontext *ctx, const GLfloat color[4]); -#endif void (*ClearDepth)(GLcontext *ctx, GLclampd d); void (*ClearIndex)(GLcontext *ctx, GLuint index); void (*ClearStencil)(GLcontext *ctx, GLint s); |