Insufficient depth buffer precision problem

Started by fazekaim, August 15, 2009, 10:43:02

Previous topic - Next topic

fazekaim

Hello,

i tried my game on my fiend's computer containing an old Ati Radeon 1600 videocard dropping this exception:
org.lwjgl.LWJGLException: Insufficient depth buffer precision

However the displaymodes array contains this: 1024x768x32. but i cannot use it in wondow mode. it throws this exception.

Could it be, that a listed display mode cannot be used? Caused by driver problem?

Thanks in advance!

Fool Running

The depth buffer is a separate value for the resolution and color depth (the 1024x768x32). The depth buffer value is passed in to Display.create() as one of the parameters to the PixelFormat constructor.
Also, I think some cards running in 16 bit color mode (if thats what the desktop color is at) can only do a 16 bit depth buffer. You might call Display.getDesktopDisplayMode() before you do Display.create() and see if its in 16 bit color mode.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D