Hi,
this is the patch that allows EVE online to capture ingame screenshots. (fixes the start coordinates for glReadPixels and turns the output upside down again) It works with the login screen (running as managed window) and in fullscreen. (when desktop is 32bit) Is there much more stuff needed or would cleaning up the code and replacing the 4 with the size of a pixel do the trick for the tree?
Karsten
Am Montag 16 Oktober 2006 18:02 schrieb Karsten Elfenbein:
Hi,
this is the patch that allows EVE online to capture ingame screenshots. (fixes the start coordinates for glReadPixels and turns the output upside down again) It works with the login screen (running as managed window) and in fullscreen. (when desktop is 32bit) Is there much more stuff needed or would cleaning up the code and replacing the 4 with the size of a pixel do the trick for the tree?
Well, you could reimplement GetFrontBufferData with IWineD3DSurface_BltFast. This would save some code, but GetFrontBufferData in the form it is at the moment is well-optimized for what it is doing, so it might be better to leave it as it is.
Just dropping the note - Not sure what the best way is.