Login  Register

AthensCairoSDLSurface P8 Error

Posted by alvaro piorno on Sep 18, 2020; 8:07pm
URL: https://forum.world.st/AthensCairoSDLSurface-P8-Error-tp5122152.html

Hello,

This code that worked for P6 and P7 is now failing in P8.

AthensCairoSDLSurface fromSDLSurface: self window handle handle getWindowSurface.

the window is created like this:

window := OSWindow createWithAttributes: (OSWindowAttributes new resizable: false; yourself).

The exception is Error: Could not coerce arguments

from cairo lib.


Cheers