mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 03:15:52 +00:00
changed misleading TEXTUREFORMAT_32BPP (was 24bpp!) to vo_gl2 style TEXTUREFORMAT_ALWAYS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12844 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2b2bb254b7
commit
4eebc5af53
@ -1,4 +1,4 @@
|
||||
#define TEXTUREFORMAT_32BPP
|
||||
#define TEXTUREFORMAT_ALWAYS GL_RGB8
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -134,8 +134,8 @@ static int find_gl_format (uint32_t format)
|
||||
gl_type = GL_UNSIGNED_BYTE;
|
||||
return 0;
|
||||
}
|
||||
#ifdef TEXTUREFORMAT_32BPP
|
||||
gl_texfmt = GL_RGB8;
|
||||
#ifdef TEXTUREFORMAT_ALWAYS
|
||||
gl_texfmt = TEXTUREFORMAT_ALWAYS;
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user