File tree Expand file tree Collapse file tree
core/src/main/java/jolt/example/samples/app
desktop-wgpu/src/main/java/jolt/example/samples/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public void renderUI() {
129129 ImGui .EndTabItem ();
130130 }
131131 if (ImGui .BeginTabItem ("Test" )) {
132- renderTestUI ();
132+ test . renderUI ();
133133 ImGui .EndTabItem ();
134134 }
135135 ImGui .EndTabBar ();
@@ -139,6 +139,8 @@ public void renderUI() {
139139 if (newTest != null ) {
140140 startTest (newTest );
141141 }
142+
143+ renderTestUI ();
142144 }
143145
144146 private void renderTestUI () {
Original file line number Diff line number Diff line change @@ -222,4 +222,8 @@ protected Body CreateMeshTerrain() {
222222 bodyCreationSettings .dispose ();
223223 return floor ;
224224 }
225+
226+ public void renderUI () {
227+
228+ }
225229}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public static void main(String[] args) {
1111 GraphicManagerApi .graphicApi = new WGPUGraphicApi ();
1212
1313 WgDesktopApplicationConfiguration config = new WgDesktopApplicationConfiguration ();
14- config .setWindowedMode (640 , 480 );
14+ config .setWindowedMode (1444 , 800 );
1515 config .setTitle ("WebGPU" );
1616 config .enableGPUtiming = false ;
1717 config .useVsync (false );
You can’t perform that action at this time.
0 commit comments