gl-renderer: Only check for subimage when we have extension at compile time
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 7 Aug 2013 19:11:27 +0000 (12:11 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 7 Aug 2013 19:11:27 +0000 (12:11 -0700)
commit1c4f163c6d74c8aab69d2dbb9a03dc0e0e80f374
tree7cb0af58bddf73fbfc7b0a24cef525c9fd0a7e5b
parent59758a8a9e732dfda83b87fb0082af3c924d3530
gl-renderer: Only check for subimage when we have extension at compile time

If weston is compiled against a gl2ext.h that doesn't have the subimage
extension, but then run against a gles2 library that does provide it,
we end up disabling the glTexImage2D falback without having the subimage
code paths compiled in.
src/gl-renderer.c