1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Fix for linux opengl problem.

This commit is contained in:
Julian Storer 2010-02-09 12:33:59 +00:00
parent 29f5001269
commit a23d875a44
2 changed files with 6 additions and 8 deletions

View file

@ -1833,10 +1833,6 @@ private:
if (! totalArea.isEmpty())
{
#if JUCE_USE_XSHM
shmCompletedDrawing = false;
#endif
if (image == 0 || image->getWidth() < totalArea.getWidth()
|| image->getHeight() < totalArea.getHeight())
{
@ -1866,6 +1862,9 @@ private:
for (RectangleList::Iterator i (originalRepaintRegion); i.next();)
{
#if JUCE_USE_XSHM
shmCompletedDrawing = false;
#endif
const Rectangle<int>& r = *i.getRectangle();
image->blitToWindow (peer->windowH,