comparison libvo/vo_gl.c @ 12843:52d493f0ac79

changed misleading TEXTUREFORMAT_32BPP (was 24bpp!) to vo_gl2 style TEXTUREFORMAT_ALWAYS
author reimar
date Sat, 17 Jul 2004 14:32:22 +0000
parents 86774b3d5ede
children 3cd9add91f97
comparison
equal deleted inserted replaced
12842:5ab2ea430653 12843:52d493f0ac79
1 #define TEXTUREFORMAT_32BPP 1 #define TEXTUREFORMAT_ALWAYS GL_RGB8
2 2
3 #include <stdio.h> 3 #include <stdio.h>
4 #include <stdlib.h> 4 #include <stdlib.h>
5 #include <string.h> 5 #include <string.h>
6 #include <math.h> 6 #include <math.h>
132 gl_texfmt = 4; 132 gl_texfmt = 4;
133 gl_format = GL_RGBA; 133 gl_format = GL_RGBA;
134 gl_type = GL_UNSIGNED_BYTE; 134 gl_type = GL_UNSIGNED_BYTE;
135 return 0; 135 return 0;
136 } 136 }
137 #ifdef TEXTUREFORMAT_32BPP 137 #ifdef TEXTUREFORMAT_ALWAYS
138 gl_texfmt = GL_RGB8; 138 gl_texfmt = TEXTUREFORMAT_ALWAYS;
139 #endif 139 #endif
140 return 1; 140 return 1;
141 } 141 }
142 142
143 /* connect to server, create and map window, 143 /* connect to server, create and map window,