Nathan
Nathan

Reputation: 525

Reason for application using OpenGL accumulation buffer not looking correct

I have an OpenGL example I wrote years ago demonstrating the lense effect using the accumulation buffer. I compile it under linux, works fine.

I cross compile it to windows (gentoo crossdev, i686-mingw32). I start it with wine and on a separate laptop running windows. It looks wrong, it looks like the image did not get accumulated but only the last rendered image was used.

Could this be, because the platforms do not support the accumulation buffer? I want to exclude that it could be because something goes wrong during cross compilation.

Thanks! Nathan

Upvotes: 1

Views: 552

Answers (2)

elmattic
elmattic

Reputation: 12174

On win32 you have to check the PIXELFORMATDESCRIPTOR:

http://msdn.microsoft.com/en-us/library/dd368826(VS.85).aspx

Upvotes: 0

genpfault
genpfault

Reputation: 52083

Check GL_ACCUM_[RED|BLUE|GREEN]_BITS via glGet() to make sure you actually got an accumulation buffer.

Upvotes: 1

Related Questions