Skip to content

Commit

Permalink
Works around vertex buffer crash in 2024.8
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Sep 4, 2024
1 parent df8619b commit bfd20a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions objects/oRenderer/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ renderer.ldrTonemap = renderer.hdrTonemap;
////////////////////////////

//Set up a vertex buffer for drawing the diffuse base texture for the walls
//This isn't strictly part of the renderer example
//We populate this in the Room Start event
staticBlocks = new VertexCake();
staticBlocks.Bake(oStaticOccluder, sStaticBlock, 0, true);

//Some debug values
showDebug = false;
Expand Down
2 changes: 2 additions & 0 deletions objects/oRenderer/Other_4.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//Populate the vertex cake and bake it
staticBlocks.Bake(oStaticOccluder, sStaticBlock, 0, true);
1 change: 1 addition & 0 deletions objects/oRenderer/oRenderer.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bfd20a3

Please sign in to comment.