Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualBornToCode

Posted 30 August 2013 - 08:31 PM

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.


#1BornToCode

Posted 30 August 2013 - 08:29 PM

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.


PARTNERS