mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 01:40:22 +00:00
Small bit of clean up in GLES-software.
This commit is contained in:
parent
f6ef6fa0d9
commit
296b9b1c16
4 changed files with 21 additions and 31 deletions
|
@ -29,6 +29,19 @@
|
|||
#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
|
||||
#endif
|
||||
|
||||
#ifdef USE_GLES
|
||||
#define TEX2D GL_TEXTURE_2D
|
||||
#define PREC "highp"
|
||||
#define TEXTYPE "sampler2D"
|
||||
#define TEXFUNC "texture2D"
|
||||
#else
|
||||
#define TEX2D GL_TEXTURE_RECTANGLE_ARB
|
||||
#define PREC
|
||||
#define TEXTYPE "sampler2DRect"
|
||||
#define TEXFUNC "texture2DRect"
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue