Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Regarding drawBuffer in glClearBufferiv

  1. #11
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,224
    You're not initializing color. So you end up with a garbage + temp1 = garbage problem.

    Don't know if that's your complete problem. It just jumped out at me.

  2. #12
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    207
    Quote Originally Posted by Dark Photon View Post
    You're not initializing color. So you end up with a garbage + temp1 = garbage problem.

    Don't know if that's your complete problem. It just jumped out at me.
    Thats not an issue as i tried by initializing color variable in shader.

Posting Permissions

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