add background for F3 text, fix single-channel texture display
This commit is contained in:
@@ -87,7 +87,7 @@ func CreateFontsTexture() {
|
||||
)
|
||||
|
||||
io.Fonts().SetTextureID(imgui.TextureID(tex))
|
||||
igwrap.SetTextureFlag(tex, igwrap.TextureFlag_Red)
|
||||
igwrap.SetTextureFlag(tex, igwrap.TextureFlag_ImGUIFont)
|
||||
|
||||
gl.BindTexture(gl.TEXTURE_2D, uint32(lastTexture))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user