mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.57k stars 196 forks source link

Incorrect Canvas rendering behaviour on Linux #51

Closed KonstantinRr closed 4 years ago

KonstantinRr commented 4 years ago

It seems like the library uses a wrong offset to render the Canvas widget inside a Window. This happens when compiling example4 that is part of the official source code. The wrong offset (in comparison to the window) grows with increasing Window coordinates. This works fine on Windows.

image

Steps to reproduce:

  1. Compile nanogui on Kubuntu 19.10
  2. Run example 4
quadrantica commented 4 years ago

I have the same issue on Windows 10 (19041.338), building with VisualStudio2019.

quadrantica commented 4 years ago

I think it is solved by #50 and also by #46

KonstantinRr commented 4 years ago

Thanks it is fixed now :+1: