Mantis
Recently Visited: 0024946, 0028674, 0024781, 0023367, 0027582

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014990Runner[All Projects] FunctionsPublic2014-06-25 09:532017-10-31 16:43
ReporterTomas Frinta 
Assigned ToMike Rennie 
PriorityLowSeverityC - GeneralReproducibilityN/A
StatusAssignedResolutionOpen 
PlatformAndroidOS OS 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: http://help.yoyogames.com/tickets/62929 [^]
1.4 Version1.3.1354
2.x Runtime Version
2.x Runtime Version Verified In
Attached Files? file icon surface_create_ext.gmz [^] (887,623 bytes) 2014-06-25 09:54

+ Relationships

-  Notes
(0031295)
Neil Wicker (Updater)
2014-07-24 10:46

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.
(0032035)
Neil Wicker (Updater)
2014-08-20 11:47

Re this forum post: http://gmc.yoyogames.com/index.php?showtopic=625742&hl= [^]

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

An empty implementation will be added to other platforms.


Copyright © 2000 - 2018 MantisBT Team
mail.yoyogames.com
Powered by Mantis Bugtracker