[AD] OpenGL unlock fix and discussion

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Here is a patch that makes it so that the OpenGL
driver doesn't change the target bitmap when
unlocking or locking a bitmap and destroying a bitmap.

The target is set (it was by design) to the backbuffer
when calling al_set_current_display and these functions
don't reset it. It's debatable whether or not set_current_display
should set the target or not, but it seems natural to me so
I'm in favor of keeping it the way it is, unless someone
has a good reason to change it.


Trent :{)>

Attachment: unlock.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/