[nostalgia/core/userland] Restore proper rendering of background

This commit is contained in:
2021-03-17 21:30:30 -05:00
parent 4796c2e0cb
commit be3caf1818
3 changed files with 102 additions and 67 deletions
+12 -1
View File
@@ -16,11 +16,22 @@
namespace nostalgia::core::renderer {
struct Texture {
GLuint texId = 0;
GLuint width = 0;
GLuint height = 0;
constexpr operator GLuint() const noexcept {
return texId;
}
};
struct Bufferset {
GLuint vao = 0;
GLuint vbo = 0;
GLuint ebo = 0;
GLuint tex = 0;
Texture tex;
GLsizei eboElements = 0;
};