View Issue Details

IDProjectCategoryView StatusLast Update
0031016RunnerWindows (YYC)Public2019-08-19 09:57
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.2.3 
Target Version2.2.4Fixed in Version2.2.4 
Summary0031016: Windows (YYC): Trying to draw a tileset via a vertex buffer silently fails
DescriptionAttempting to draw a vertex buffer using tileset_get_uvs() and tileset_get_texture() and passing the data into a vertex buffer works fine on VM but fails on YYC silently with no error.
Steps To Reproduce1) Run the sample on Windows VM
2) Run the sample on Windows YYC
TagsRunner, yyc
1.4 Found In
2.x Runtime Found In2.2.3.337
2.x Runtime Verified In9.9.1.1531

Activities

Stewart Bishop

2019-06-06 10:51

Developer  

tileset drawing.yyz (16,944 bytes)

Russell Kay

2019-06-21 20:02

Manager   ~0064239

OK the problem here is that the vertex format and the calls to fill the vertex buffer are in a different order, the vertex format is

2d position
texcoord
colour

and the vertex buffer is being filled in the order

2d position
colour
texcoord

Now this works in debug mode (see gml_release_mode) but does not work in release mode (even in VM), now YYC will act like release mode and is much faster at creating the vertex buffer

they have to match... I will look to add a warning that the buffer is being filled in the wrong order...

Russell Kay

2019-06-21 20:55

Manager   ~0064240

Fixed in gitlab