problem about "allocing memory"

Started by
-1 comments, last by ibr_ozdemir 17 years, 2 months ago
hi, i'm making my own simple game engine and i'm using primitiveUP for drawing the language that i use is Delphi 6, and i'm filling vertexbuffers (not IDirect3DVertexBuffer9, my own vertexbuffer variant) with ReallocMem, and i read about ReallocMem that : if i use it so much than cause "memory fragment" so i tried GetMem and GetMemory and doesnt change any thing THERE IS NO SOMETHING (TRIANGLE) IN THE SCENE. when i use IDirect3DVertexBuffer9 its working but i dont want to change my engine its so difficult for me (also if i cant find any solution i have to change it) anyway how can i make vertexbuffer that primitiveUP support, does it have to static memory block because ReallocMem create Dynamic memory block thanks

This topic is closed to new replies.

Advertisement