diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-02-04 02:35:00 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-02-04 02:35:00 +0000 |
commit | 95e67dc99db392cd5f412669297102432afd2dfc (patch) | |
tree | 9e55105b2e949a019de4372363ed5ecdae27a739 /progs | |
parent | 3d7071b8a50e9e5aef6013cfe95cd935b8688688 (diff) |
use ARB flavor of window_pos extension
Diffstat (limited to 'progs')
-rw-r--r-- | progs/tests/texwrap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/tests/texwrap.c b/progs/tests/texwrap.c index 108c67d4d1..7751afd46b 100644 --- a/progs/tests/texwrap.c +++ b/progs/tests/texwrap.c @@ -1,4 +1,4 @@ -/* $Id: texwrap.c,v 1.4 2002/10/18 17:47:36 kschultz Exp $ */ +/* $Id: texwrap.c,v 1.5 2003/02/04 02:35:00 brianp Exp $ */ /* * Test texture wrap modes. @@ -119,7 +119,7 @@ static void Display( void ) #if 0 /* draw texture as image */ glDisable(GL_TEXTURE_2D); - glWindowPos2iMESA(1, 1); + glWindowPos2iARB(1, 1); glDrawPixels(6, 6, GL_RGBA, GL_UNSIGNED_BYTE, (void *) TexImage); #endif @@ -183,7 +183,7 @@ static void Display( void ) offset = 0; for (i = 0; i < modes[i].mode != 0; i++) { if ( modes[i].supported ) { - glWindowPos2iMESA( offset * 150 + 10, 5 + ((offset & 1) * 15) ); + glWindowPos2iARB( offset * 150 + 10, 5 + ((offset & 1) * 15) ); PrintString(modes[i].name); offset++; } |