mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
[PICA] Enable viewport
This commit is contained in:
parent
3912fd4779
commit
d7c2c27e99
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ void Renderer::drawVertices(OpenGL::Primitives primType, Vertex* vertices, u32 c
|
|||
// TODO: Actually use this
|
||||
float viewportWidth = f24::fromRaw(regs[PICAInternalRegs::ViewportWidth] & 0xffffff).toFloat32() * 2.0;
|
||||
float viewportHeight = f24::fromRaw(regs[PICAInternalRegs::ViewportHeight] & 0xffffff).toFloat32() * 2.0;
|
||||
//OpenGL::setViewport(viewportWidth, viewportHeight);
|
||||
OpenGL::setViewport(viewportWidth, viewportHeight);
|
||||
|
||||
if (depthEnable) {
|
||||
OpenGL::enableDepth();
|
||||
|
|
Loading…
Add table
Reference in a new issue