View Issue Details

IDProjectCategoryView StatusLast Update
0029938RunnerHTML5Public2018-10-29 13:23
ReporterMark AlexanderAssigned ToAntanas Budvytis 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OSOS Version
Product Version2.1.5 
Target Version2.2.1Fixed in Version2.2.1 
Summary0029938: HTML5 : surface_getpixel() doesn't work when WebGL is enabled
DescriptionWhen you use surface_getpixel on the HTML5 target, it will only work correctly when used without WebGL enabled.
Steps To ReproduceRun the supplied test project on HTML5 without WebGL enabled.
When running, open the developer console
Press "Space" in the game to generate a surface and use the surface_getpixel function
Note that different values are returned.
Run the project again, but this time WITH WebGL enabled.
Note that pressing space always returns 0 as a value.
Additional InformationOriginally pointed out here: https://forum.yoyogames.com/index.php?threads/surfaces-are-always-empty-no-way-to-fill-them.51660/
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.1.5.246
2.x Runtime Verified In2.2.1.268

Activities

Mark Alexander

2018-08-16 10:45

Developer  

HTML5Surface_Test.yyz (20,070 bytes)