forked from enlightenment/efl
Evas: 3D: Fix typo error in preprocessor for GLES
This commit is contained in:
parent
fc6cdaaa9d
commit
26e43f938f
|
@ -534,7 +534,7 @@ e3d_drawable_new(int w, int h, int alpha, GLenum depth_format, GLenum stencil_fo
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, fbo);
|
glBindFramebuffer(GL_FRAMEBUFFER, fbo);
|
||||||
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
|
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
|
||||||
|
|
||||||
#if GL_GL_3DES
|
#if GL_GLES
|
||||||
if (depth_format == GL_DEPTH_STENCIL_OES)
|
if (depth_format == GL_DEPTH_STENCIL_OES)
|
||||||
{
|
{
|
||||||
glGenTextures(1, &depth_stencil_buf);
|
glGenTextures(1, &depth_stencil_buf);
|
||||||
|
|
Loading…
Reference in New Issue