Home » U++ Library support » U++ Library : Other (not classified elsewhere) » How to detect available OpenGL memory?
How to detect available OpenGL memory? [message #57724] |
Thu, 02 December 2021 11:57 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
The title says it all: How to detect available OpenGL memory?
I have 32 GB of RAM (most of it free) but my GLCtrl based application panics and runs out of memory somewhere around 256 MB. This happens when creating big OpenGL textures in GLCtrl. Is there a way to cleanly avoid this crash, e.g. by checking available OpenGL memory before allocating more textures?
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Wed Apr 24 03:17:50 CEST 2024
Total time taken to generate the page: 0.02075 seconds
|