mirror of
https://github.com/brl/mutter.git
synced 2024-12-04 05:40:41 -05:00
bf8384baf1
Under big GL, _cogl_texture_driver_size_supported uses the proxy texture to check whether the given texture size is supported. Proxy textures aren't available under GLES so previously this would just return TRUE to assume all texture sizes are supported. This patch makes it use glGetIntegerv with GL_MAX_TEXTURE_SIZE to give a second best guess. This fixes the sliced texture backend so that it will use slices when the texture is too big. |
||
---|---|---|
.. | ||
gl | ||
gles | ||
Makefile.am |