summaryrefslogtreecommitdiff
path: root/cogl/cogl-matrix.h
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2010-02-09 12:21:10 +0000
committerNeil Roberts <neil@linux.intel.com>2010-02-09 12:21:10 +0000
commit2938ae0475f7630a7be721c5f2d81feb34564182 (patch)
treec64e51f5b2ca12bcfbd3a63c8bb7388c0c049e4f /cogl/cogl-matrix.h
parentf16fd0ddbb0fcf1285ba77cbcb23e57ab70d3df7 (diff)
downloadcogl-2938ae0475f7630a7be721c5f2d81feb34564182.tar.gz
cogl-texture-2d: Use _cogl_texture_driver_gen to generate the GL tex
_cogl_texture_driver_gen is needed to set the texture minification mode to Cogl's default of GL_LINEAR. There was also a line to set this in _cogl_texture_2d_new_with_size but it wasn't working because it was called *before* the texture was bound. If the texture was later rendered with the default material it then it would end up with GL's default mipmap filtering mode but without mipmaps so it would render white squares instead.
Diffstat (limited to 'cogl/cogl-matrix.h')
0 files changed, 0 insertions, 0 deletions