feat(gx): implement getter for depth bits on GLMipmap

This commit is contained in:
fallenoak 2023-02-20 14:36:25 -06:00
parent 26f3646d79
commit 547a5e85a8
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -4,8 +4,7 @@
#include "gx/gll/GLFramebuffer.h"
int32_t GLMipmap::GetDepthBits() {
// TODO
return 0;
return this->m_DepthBits;
}
void GLMipmap::Attach(GLFramebuffer* framebuffer, GLenum attachPoint, int32_t a4) {