How to avoid undefined behavior when overwriting multiple times a texture with glTexSubImage2D?

前端 未结 0 694
Happy的楠姐
Happy的楠姐 2020-12-07 09:34

I am currently using this simple code to generate and then update a GL_TEXTURE:

Texture creation:

   glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
   glGenTex         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题