Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: RGBA filling in texture is not working using gles

  1. #1
    Newbie Newbie
    Join Date
    May 2013
    Posts
    1

    RGBA filling in texture is not working using gles

    I am writing a code using gles. I created a texture and tried to fill that using different colours, But when i swapped the buffer only one color is visible at whole screen.

    I am turning off the filtering using glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_NEAREST) and glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_NEAREST).

    My texture width and height is 1920*1024.
    and i want to draw the complete texture as it is on my Device screen.

    Any help would be appreciated.

  2. #2
    Intern Newbie
    Join Date
    Jun 2010
    Posts
    34
    Hi,

    Here texture width is non power of 2.
    Please check the avaialability of gl_arb_texture_non_power_of_two extension in your device.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •