kotlin-graphics / imgui

Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
MIT License
594 stars 37 forks source link

useBufferSubData breaks rendering completely, if set to true #192

Open BlazeMCworld opened 7 months ago

BlazeMCworld commented 7 months ago

Problem

When useBufferSubData is set to true, which it is for my integrated Intel GPU on Windows, rendering breaks completely. When setting it to false, it works without problems.

Solution

In the original c++ implementation its always set to false, since several other people had problems with that enabled, see here

So this should be a quick and easy fix, by always setting it to false, so its the same as the original imgui version.

Screenshots

Broken (useBufferSubData is true)

useBufferSubData set to true, broken

Working (useBufferSubData is false)

useBufferSubData set to false, working