mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Remove the GLES2 wrapper
The GLES2 wrapper is no longer needed because the shader generation is done within the GLSL fragend and vertend and any functions that are different for GLES2 are now guarded by #ifdefs.
This commit is contained in:
@ -545,6 +545,7 @@ _cogl_texture_2d_pre_paint (CoglTexture *tex, CoglTexturePrePaintFlags flags)
|
||||
GL_GENERATE_MIPMAP and reuploading the first pixel */
|
||||
if (cogl_features_available (COGL_FEATURE_OFFSCREEN))
|
||||
_cogl_texture_driver_gl_generate_mipmaps (GL_TEXTURE_2D);
|
||||
#ifndef HAVE_COGL_GLES2
|
||||
else
|
||||
{
|
||||
GE( glTexParameteri (GL_TEXTURE_2D,
|
||||
@ -558,6 +559,7 @@ _cogl_texture_2d_pre_paint (CoglTexture *tex, CoglTexturePrePaintFlags flags)
|
||||
GL_GENERATE_MIPMAP,
|
||||
GL_FALSE) );
|
||||
}
|
||||
#endif
|
||||
|
||||
tex_2d->mipmaps_dirty = FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user