UI stops drawing - processing limit/timeout?
EDIT: Further fiddling and I've gotten things working, but now I have new questions.
I'm building a grid of pixels, as below. However, if I increase either xsize or ysize to 128, my UI vanishes immediately upon loading in (as if I'd hit Alt-Z to hide the interface, but there seems to be no way to recover). I can alternately avoid this and increase the limits up to 256x256 by commenting out line 16 so that I'm not setting any textures. (Higher limits cause the game to stall for a very long time just loading in.)
Is there some processing limit I'm unaware of?
I'd guess that you're hitting the vertex or index buffer limit. SetColorTexture will create a texture of that color and would prevent render batching. Instead use SetColorTexture(1, 1, 1, 1) to create a white texture and then use :SetVertexColor to tint them. That should allow everything to be batched.
|All times are GMT -6. The time now is 12:00 PM.|
vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI