summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-04-04 23:56:33 +0000
committerBrian Paul <[email protected]>2001-04-04 23:56:33 +0000
commit2aacac9a5d14498149c7d493c6e4776db17ef925 (patch)
tree22b0dfb9d7f54939cd33f0b20f995288d79bebf0
parent01429fa46a05cba7d2d11825facd7d8e6117dacd (diff)
replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_format()
-rw-r--r--src/mesa/main/texformat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
index 739df30346c..1700eee4b54 100644
--- a/src/mesa/main/texformat.c
+++ b/src/mesa/main/texformat.c
@@ -1,4 +1,4 @@
-/* $Id: texformat.c,v 1.8 2001/04/04 21:54:21 brianp Exp $ */
+/* $Id: texformat.c,v 1.9 2001/04/04 23:56:33 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -241,7 +241,7 @@ const struct gl_texture_format _mesa_texformat_rgba8888 = {
const struct gl_texture_format _mesa_texformat_argb8888 = {
MESA_FORMAT_ARGB8888, /* MesaFormat */
- GL_BGRA, /* IntFormat */
+ GL_RGBA, /* IntFormat */
GL_UNSIGNED_INT_8_8_8_8_REV, /* Type */
8, /* RedBits */
8, /* GreenBits */
@@ -295,7 +295,7 @@ const struct gl_texture_format _mesa_texformat_rgb565 = {
const struct gl_texture_format _mesa_texformat_argb4444 = {
MESA_FORMAT_ARGB4444, /* MesaFormat */
- GL_BGRA, /* IntFormat */
+ GL_RGBA, /* IntFormat */
GL_UNSIGNED_SHORT_4_4_4_4_REV, /* Type */
4, /* RedBits */
4, /* GreenBits */
@@ -313,7 +313,7 @@ const struct gl_texture_format _mesa_texformat_argb4444 = {
const struct gl_texture_format _mesa_texformat_argb1555 = {
MESA_FORMAT_ARGB1555, /* MesaFormat */
- GL_BGRA, /* IntFormat */
+ GL_RGBA, /* IntFormat */
GL_UNSIGNED_SHORT_1_5_5_5_REV, /* Type */
5, /* RedBits */
5, /* GreenBits */