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/306302Tested-by:Austin Kinross <aukinros@microsoft.com> Reviewed-by:
Jamie Madill <jmadill@chromium.org> Reviewed-by:
Geoff Lang <geofflang@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| WindowTest | Loading commit data... | |
| hello_triangle | Loading commit data... | |
| mip_map_2d | Loading commit data... | |
| multi_texture | Loading commit data... | |
| multi_window | Loading commit data... | |
| multiple_draw_buffers | Loading commit data... | |
| particle_system | Loading commit data... | |
| post_sub_buffer | Loading commit data... | |
| sample_util | Loading commit data... | |
| shader_translator | Loading commit data... | |
| simple_instancing | Loading commit data... | |
| simple_texture_2d | Loading commit data... | |
| simple_texture_cubemap | Loading commit data... | |
| simple_vertex_shader | Loading commit data... | |
| stencil_operations | Loading commit data... | |
| tex_redef_microbench | Loading commit data... | |
| texture_wrap | Loading commit data... | |
| tri_fan_microbench | Loading commit data... | |
| samples.gyp | Loading commit data... |