Mercurial > mplayer.hg
changeset 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 | 5ab2ea430653 |
children | d466d97bfe8d |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Sat Jul 17 14:18:29 2004 +0000 +++ b/libvo/vo_gl.c Sat Jul 17 14:32:22 2004 +0000 @@ -1,4 +1,4 @@ -#define TEXTUREFORMAT_32BPP +#define TEXTUREFORMAT_ALWAYS GL_RGB8 #include <stdio.h> #include <stdlib.h> @@ -134,8 +134,8 @@ gl_type = GL_UNSIGNED_BYTE; return 0; } -#ifdef TEXTUREFORMAT_32BPP - gl_texfmt = GL_RGB8; +#ifdef TEXTUREFORMAT_ALWAYS + gl_texfmt = TEXTUREFORMAT_ALWAYS; #endif return 1; }