From ab57e8d7c47296e73b3df68f708e2e5297c2e867 Mon Sep 17 00:00:00 2001 From: NicJA Date: Sun, 8 Jan 2017 02:13:01 +0000 Subject: [PATCH] to prevent problems with newer mesa versions, use the passed in pipe (the winsys cannot be accessed this way and does not have the necessary info in newer mesa versions!) git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53180 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/gallium/bltpiperesourcerastport.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/workbench/libs/gallium/bltpiperesourcerastport.c b/workbench/libs/gallium/bltpiperesourcerastport.c index 4eaf782f4a..5e2bfb119e 100644 --- a/workbench/libs/gallium/bltpiperesourcerastport.c +++ b/workbench/libs/gallium/bltpiperesourcerastport.c @@ -61,10 +61,6 @@ struct Rectangle renderableLayerRect; BOOL copied = FALSE; - struct HIDDT_WinSys * ws = (struct HIDDT_WinSys *)srcPipeResource->screen->winsys; - if (!ws) - return; - if (!IsLayerVisible(L)) return; @@ -114,7 +110,7 @@ width : result.MaxX - result.MinX + 1, /* width of the rect in source buffer */ height : result.MaxY - result.MinY + 1, /* height of the rect in source buffer */ }; - OOP_DoMethod(ws->driver, (OOP_Msg)&drmsg); + OOP_DoMethod(pipe, (OOP_Msg)&drmsg); copied = TRUE; } -- 2.11.4.GIT