mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
ogl: use texture_2d instead of renderbuffer for realxfb + efb2ram fbo
It should do the same on gpu, but textures are more flexible. eg we could copy and sample them directly without blitting.
This commit is contained in:
@ -32,14 +32,12 @@
|
||||
#define GL_BGRA GL_RGBA
|
||||
#define glDrawElementsBaseVertex
|
||||
#define glDrawRangeElementsBaseVertex
|
||||
#define GLRENDERBUFFERFORMAT 0x8058 /* RGBA8_OES */
|
||||
#endif
|
||||
#else
|
||||
#define TEX2D GL_TEXTURE_RECTANGLE_ARB
|
||||
#define PREC
|
||||
#define TEXTYPE "sampler2DRect"
|
||||
#define TEXFUNC "texture2DRect"
|
||||
#define GLRENDERBUFFERFORMAT GL_RGBA
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user