Browse Source

16bit SNORM internal texture formats are not available in ES3.

Don't know why I thought they were.
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
787e01940f
  1. 18
      src/AbstractTexture.h

18
src/AbstractTexture.h

@ -314,39 +314,39 @@ class MAGNUM_EXPORT AbstractTexture {
* in OpenGL ES. * in OpenGL ES.
*/ */
RGBA16 = GL_RGBA16, RGBA16 = GL_RGBA16,
#endif
/** /**
* Red component, normalized signed short. * Red component, normalized signed short.
* @requires_gl31 %Extension @extension{EXT,texture_snorm} * @requires_gl31 %Extension @extension{EXT,texture_snorm}
* @requires_gles30 Only unsigned normalized formats are available * @requires_gl Only byte-sized normalized formats are available
* in OpenGL ES 2.0. * in OpenGL ES.
*/ */
R16Snorm = GL_R16_SNORM, R16Snorm = GL_R16_SNORM,
/** /**
* Red and green component, each normalized signed short. * Red and green component, each normalized signed short.
* @requires_gl31 %Extension @extension{EXT,texture_snorm} * @requires_gl31 %Extension @extension{EXT,texture_snorm}
* @requires_gles30 Only unsigned normalized formats are available * @requires_gl Only byte-sized normalized formats are available
* in OpenGL ES 2.0. * in OpenGL ES.
*/ */
RG16Snorm = GL_RG16_SNORM, RG16Snorm = GL_RG16_SNORM,
/** /**
* RGB, each component normalized signed short. * RGB, each component normalized signed short.
* @requires_gl31 %Extension @extension{EXT,texture_snorm} * @requires_gl31 %Extension @extension{EXT,texture_snorm}
* @requires_gles30 Only unsigned normalized formats are available * @requires_gl Only byte-sized normalized formats are available
* in OpenGL ES 2.0. * in OpenGL ES.
*/ */
RGB16Snorm = GL_RGB16_SNORM, RGB16Snorm = GL_RGB16_SNORM,
/** /**
* RGBA, each component normalized signed short. * RGBA, each component normalized signed short.
* @requires_gl31 %Extension @extension{EXT,texture_snorm} * @requires_gl31 %Extension @extension{EXT,texture_snorm}
* @requires_gles30 Only unsigned normalized formats are available * @requires_gl Only byte-sized normalized formats are available
* in OpenGL ES 2.0. * in OpenGL ES.
*/ */
RGBA16Snorm = GL_RGBA16_SNORM, RGBA16Snorm = GL_RGBA16_SNORM,
#endif
/** /**
* Red component, non-normalized unsigned byte. * Red component, non-normalized unsigned byte.

Loading…
Cancel
Save