Does anyone know why glScissorArray/glViewportArray only works with index 0. I made sure to check that i have support for more than one viewport and it tells me there is 16 viewports. But whenever i used glScissorArray with glViewportArray only the first index is getting set. The way i am testing this is that i set up different viewports/scissors then call clear. But it is only showing pixels only on the sub region defined in the first scissor. I am not seeing any pixels in the other regions. Another test i did is set up an scissor/viewport for index 1 and not 0. When i call clear then, it clears the whole screen ignoring the scissor.
glScissorArray
Please post the traditional complete code example; the order of OpenGL calls and their parameters are important, as are the missing calls.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement