Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

bakery2k1

NeXe tutorial problem

This topic is 6086 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

On running NeXe''s first tutorial, the window just appears and then dissapears. The program is failing on the lines: g_hr=g_pDirect3D->CreateDevice( D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, g_hWnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &presentParameters, &g_pDevice ); if (FAILED(g_hr)) // If it failed, return failure return false; What could be wrong? Thanks Paul

Share this post


Link to post
Share on other sites
Advertisement
Are you defining your Direct3d device? And are you filling in the present parameters with the correct data. If you set the present paramater for windowwed mode and the app runs in fullscreen or vice versa, it will crash.

Eric Wright o0Programmer0o

AcidRain Productions

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
use REF instead of HAL

Share this post


Link to post
Share on other sites
G''day!

Using the Reference Rasterizer will be painfully slow. Expect speeds around 1 frame per second. Ref was designed for debugging, not for general use. Just so you know what to expect...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!