Display lists and Video RAM

Started by
0 comments, last by ptl 21 years, 10 months ago
Hi all, How can I know when I create a display list if it has been created in VRAM or in RAM ? I tried to compare available RAM before and after with GlobalMemoryStatus but I got strange results (more RAM available after creating the DL sometimes !!) I someone knows a way to do this please tell me. ptl
Advertisement
hum... i know when u do glNewList() it also calls glError() and if it return Gl_OUT_OF_MEMORY well you know.. but to check the memory try to use the memory class. MEMORYSTATUS.CLS. i found on msdn online that u can do

MemoryLoad
TotalPhysical
AvailablePhysical
TotalPageFile
AvailablePageFile
TotalVirtual
AvailableVirtual
Metal Typhoon

This topic is closed to new replies.

Advertisement