AthensCairoSDLSurface P8 Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

AthensCairoSDLSurface P8 Error

alvaro piorno
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
Reply | Threaded
Open this post in threaded view
|

Re: AthensCairoSDLSurface P8 Error

Stéphane Ducasse
Hello alvaro

can you try with P9 because we got many improvements. 

S

On 18 Sep 2020, at 22:07, Alvaro Piorno <[hidden email]> wrote:

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

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply | Threaded
Open this post in threaded view
|

Re: AthensCairoSDLSurface P8 Error

alvaro piorno
HI Stéphane,

It works fine in P9 changing for the new implementors of handle.

Thanks

El dom., 11 oct. 2020 a las 11:57, Stéphane Ducasse (<[hidden email]>) escribió:
Hello alvaro

can you try with P9 because we got many improvements. 

S

On 18 Sep 2020, at 22:07, Alvaro Piorno <[hidden email]> wrote:

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

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France