diff options
author | Keith Whitwell <[email protected]> | 2003-11-21 13:40:19 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2003-11-21 13:40:19 +0000 |
commit | f2f09abce4c6ac398eb8623ea89ec4419e48e2a4 (patch) | |
tree | 75da7817af0df61e9dd281c9cd4a4a793622a7de /src/mesa/main/macros.h | |
parent | 93320957f2736cb0a748907a94d515755a06d402 (diff) |
linux-solo compiles as far as the gamma driver, which seems independentlyvtx-0-2-21112003-freeze
broken?
Diffstat (limited to 'src/mesa/main/macros.h')
-rw-r--r-- | src/mesa/main/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h index fcb63f53f20..e0ede0804a8 100644 --- a/src/mesa/main/macros.h +++ b/src/mesa/main/macros.h @@ -109,6 +109,8 @@ extern GLfloat _mesa_ubyte_to_float_color_tab[256]; #define STRIDE_UI(p, i) (p = (GLuint *)((GLubyte *)p + i)) /** Stepping a GLubyte[4] pointer by a byte stride */ #define STRIDE_4UB(p, i) (p = (GLubyte (*)[4])((GLubyte *)p + i)) +/** Stepping a GLfloat[4] pointer by a byte stride */ +#define STRIDE_4F(p, i) (p = (GLfloat (*)[4])((GLubyte *)p + i)) /** Stepping a GLchan[4] pointer by a byte stride */ #define STRIDE_4CHAN(p, i) (p = (GLchan (*)[4])((GLubyte *)p + i)) /** Stepping a GLchan pointer by a byte stride */ |