billyquith / GWork

Skinnable GUI with useful widget collection. Fork of GWEN.
https://billyquith.github.io/GWork/
Other
216 stars 30 forks source link

OpenGL renderer broken #92

Open billyquith opened 5 years ago

billyquith commented 5 years ago

Due to being busy I did not fully test the resource/renderer refactoring by @topblast.

The OpenGL renderer is broken. Looks like "last texture" not set after flushing non-textured rects. Also UVs broken?

If this doesn't get fixed I may just choose to revert the large refactoring, i.e. "Gwork should support rendering a UI using multiple renderers". I can't see that this is common use case.

topblast commented 5 years ago

You can assign this to me, I will work on it

billyquith commented 5 years ago

Hi @topblast, how are the fixes coming along?

topblast commented 5 years ago

@billyquith I tried the RENDER_OPENGL renderer, I do not see any issues. Is this an issue with OPENGL_CORE?

Hmm, Looking at OPENGL_CORE's fragment shader, this may the cause of the bug.(if it is OPENGL_CORE)

billyquith commented 5 years ago

@topblast I'll try and have a look this week. Holiday. etc.