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:
parent
29f5001269
commit
a23d875a44
2 changed files with 6 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue