angle/samples/multiple_draw_buffers
Austin Kinross adb857b2f6 Fix MultipleDrawBuffers sample when GL_OES_texture_npot isn't active
If the GL_OES_texture_npot extension isn't active, then setting
GL_TEXTURE_WRAP_S/T to GL_REPEAT for a NPOT texture results in black
rendering. This is specified in Section 3.8.2 of the OpenGL ES 2.0
specification.

Setting GL_TEXTURE_WRAP_S/T to GL_CLAMP_TO_EDGE is valid even if the
NPOT extension isn't active.

Change-Id: Ibd553620995df32138bf8153d1036fd05d386d90
Reviewed-on: https://chromium-review.googlesource.com/306302
Tested-by: Austin Kinross <aukinros@microsoft.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-10-19 17:07:14 +00:00
..
MultipleDrawBuffers.cpp Fix MultipleDrawBuffers sample when GL_OES_texture_npot isn't active 2015-10-19 17:07:14 +00:00
multiple_draw_buffers_copy_fs.glsl Move all GLES samples into the samples directory. 2015-04-23 13:59:32 +00:00
multiple_draw_buffers_fs.glsl Move all GLES samples into the samples directory. 2015-04-23 13:59:32 +00:00
multiple_draw_buffers_vs.glsl Move all GLES samples into the samples directory. 2015-04-23 13:59:32 +00:00