DrawPixels
I modded something that make use of the function gldrawpixels to
write directly in the frame buffer and override normal rendering.
This is working in the intro menu as the background map is indeed
rendering-modified, but not in-game, I am a bit surprised by this
behavior and don't know where I should be looking at.
Are there any difference in the buffer swap logic, or any detail that I am missing, that make in-game gldrawpixel fail that is not in the menu ?
(updated 2012-09-11 08:52:17)
Are there any difference in the buffer swap logic, or any detail that I am missing, that make in-game gldrawpixel fail that is not in the menu ?
(updated 2012-09-11 08:52:17)
Hm, nothing comes to my mind aside from the fact that glDrawPixels
sucks balls, you shouldn't be using it.
gldrawpixels
you might be drawing to the wrong buffer, toy around with glDrawBuffer to set the active buffer.
making hacks are we?
you are doing it wrong ^^
This was intended to be a 1st version of something more advanced,
knowing very little about gpu programming I was already quite
satisfied of this silly hack. It does rely on a cpu processing of
bitmaps hence the gldrawpixels. I suppose that not using it imply
to create a texture and render it. I cba atm, especially since i
can't be sure it would work any better but might give it a try
later.
Anyway, teaser

e/ btw, checked drawbuffer, but it's not that
(updated 2012-09-13 17:21:25)
Anyway, teaser

e/ btw, checked drawbuffer, but it's not that
(updated 2012-09-13 17:21:25)

