Win32 DIB issue

Hello everyone,

I'm working on GtkGLExt "OpenGL Extension to GTK 2.0",
and so I'm faced with Win32 DIB issue.

I tried to render OpenGL scene into DIB, but displayed scene
is inverted.

It seems that the cause is Win32 DIB setup implementation
of GdkPixmap. I think, for X11 pixmap compatibility,
DIB's bmiHeader.biHeight value is inverted.

Maybe I have to re-invert pixmap->impl->image->mem.
But I think it is not efficient and not smart.

Can anybody help me?

Naofumi Yasufuku  <naofumi users sourceforge net>
"The best way to predict the future is to invent it." -- Alan Kay

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]