fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

You cannot create and render SurfaceLayer in Game.init() on iOS. #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Create a SurfaceImage

Described in 
http://stackoverflow.com/questions/21743986/exception-when-running-simple-code-o
n-ios

What is the expected output? 

It should work on java and iOS.
No error message mentionning a SurfaceLayer (which is deprecated).

What do you see instead?

It works on java, but not on iOS.
The error message mentions SurfaceLayer which is not used in the code.

What version of the product are you using? On what operating system?

PlayN 1.7.

Please provide any additional information below.

Original issue reported on code.google.com by torlb...@gmail.com on 13 Feb 2014 at 2:47

GoogleCodeExporter commented 9 years ago
well i think this discussion here 
https://groups.google.com/forum/#!topic/playn/wnyWiQRaX4Q talks about this 
problem, but still the thrown error is not correct :) (SurfaceLayer vs 
SurfaceImage).

Original comment by torlb...@gmail.com on 13 Feb 2014 at 2:57

GoogleCodeExporter commented 9 years ago
I updated the error message to reference SurfaceImage.

Original comment by m...@samskivert.com on 13 Feb 2014 at 5:47