Login  Register

Re: AthensCairoSDLSurface P8 Error

Posted by alvaro piorno on Oct 14, 2020; 7:12pm
URL: https://forum.world.st/AthensCairoSDLSurface-P8-Error-tp5122152p5123499.html

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