Skip to main content
gamedev.net
🔒 Locked

Locking a Vertex Buffer question.

Started by 3DXoR 2 replies 150+ views
Original Post
3DXoR
3DXoR
I develpoed an ASC loader using Win98 over Christmass. I upgraded to Windows ME and my program still would run fine. I have recently done a "Format/installation" of Windows ME and now the program will not work anymore. My code maintains a Vector of ASC Objects. Each object has a vertex buffer associated with it. I loop through each object, lock the buffer, copy the vertices over, and unlock. For some reason, my code fails on locking the buffer. I havn''t changed anything with my code. I don''t know why. I even went and got a new driver for my video card, but to no avail. Is there any way I can get a more detailed explanation as to why my code is failing? I know this is where it fails, but I just don''t know why...I''m using the debug version of DirectX 8 with Visual C++ 6.0 Thank you.
d9930380
d9930380
First you say you did a Reformat and install.

I don''t use ME however if you need to, have you installed the DX 8 runtime.

If so, try using the Reference Rasterizer first.
3DXoR
3DXoR
Is the runtime not installed by default when you install the SDK?

How do you use a reference rasterizer (or what is the reference rasterizer?)? Also, my md2 loader works fine. Just not the ASC loader (I disabled the ASC stuff and the rest worked fine)....too wierd.

I'm really not sure how to debug this..


Edited by - 3DXor on January 10, 2002 8:06:41 PM
3DXoR
3DXoR
That did it. I installed the runtime again and problem solved. Thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.