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: Setting state value to the same value it already has

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2017
    Posts
    8

    Setting state value to the same value it already has

    Does OpenGL ignore state change (in order to get better performance) when setting a state value to the same value it already has?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,477
    Quote Originally Posted by Yossi Koren View Post
    Does OpenGL ignore state change (in order to get better performance) when setting a state value to the same value it already has?
    Unspecified. In general, anything which would have no observable side-effects (other than performance) is unspecified.

Posting Permissions

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