|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Jun 2001
Posts: 169
|
DirectX 8 SDK and the Clear function not working!
Hey all!
I'm running a Windows 98 (not SE) machine with no graphics accelarator and DirectX 8.0 SDK. I'm using the Visual C++ 6.0 Compiler. I haven't, however, updated it with service packs. My main thing is this: when i created a DirectDraw Device (named m_pD3DDevice, i wanted to clear the screen and fill it blue. So i use the Clear function, like so: m_pD3DDevice ->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLORXRGB(0,0,255), 1.0f, 0); it compiles properly, but i get an error when i try to run it. When i open the Debug for it, it points to the last 0 that is passed to the Clear function. What's wrong? I can't seem to figure it out! Is it just a windows problem or what? |
|
|
|
|
|
#2 |
|
Member (12 bit)
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
|
Hmm, I don't have the DirectX 8 SDK, what are the params for Clear()?
|
|
|
|
|
|
#3 |
|
Member (9 bit)
|
it might sound stupid but are you absolutely sure that you have the latest DX (not the SDK) installed and that your vid card drivers are working correctly?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|