View Issue Details

IDProjectCategoryView StatusLast Update
0014990Runner[All Projects] FunctionsPublic2017-10-31 16:43
ReporterTomas FrintaAssigned ToMike Rennie 
PriorityLowSeverityC - GeneralReproducibilityN/A
Status AssignedResolutionOpen 
PlatformAndroidOS OS Version
Product Version 
Fixed in Version 
Summary0014990: Functions: Implementation of surface_create_ext is available only for HTML5
DescriptionIf the project contains function "surface_create_ext", it will crash on any platform expect HTML5. This function should have an empty implementation for these platforms.

To be clear and to avoid misunderstanding: I don't want to call surface_create_ext for example on Windows or Android. I have something like this in my code:

if (os_browser != browser_not_a_browser)
surf = surface_create_ext(...)

But even so the project crashes on Windows/Android platforms, because surface_create_ext is not implemented at all for these platforms and I have to delete that line of code to be able to run it and that is very uncomfortable. SAMPLE URL:
Additional InformationOriginal helpdesk ticket:
1.4 Found In1.3.1354
2.x Runtime Found In
2.x Runtime Verified In


Peter Carr

2014-06-25 09:54


surface_create_ext.gmz (887,623 bytes)

Neil Wicker

2014-07-24 10:46

Updater   ~0031295

I've been told that this won't be changed as both the docs and the error message given make it clear that this is a function for HTML5 only. It would only cause more problems if the function were to silently fail on other platforms. Resolving as no change required.

Neil Wicker

2014-08-20 11:47

Updater   ~0032035

Re this forum post:

"As a rule, the function should at least exist on all platforms."

An empty implementation will be added to other platforms.