mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
hacking on more naked GL
This commit is contained in:
parent
398075e45a
commit
09430b6596
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ void ApplicationOverlay::renderOverlay(RenderArgs* renderArgs) {
|
|||
glm::vec4 color { 0.0f, 0.0f, 0.0f, 0.0f };
|
||||
float depth = 1.0f;
|
||||
int stencil = 0;
|
||||
//batch.clearFramebuffer(gpu::Framebuffer::BUFFER_COLORS | gpu::Framebuffer::BUFFER_DEPTH, color, depth, stencil);
|
||||
batch.clearColorFramebuffer(_overlayFramebuffer->getBufferMask(), glm::vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
||||
batch.clearFramebuffer(gpu::Framebuffer::BUFFER_COLORS | gpu::Framebuffer::BUFFER_DEPTH, color, depth, stencil);
|
||||
//batch.clearColorFramebuffer(_overlayFramebuffer->getBufferMask(), glm::vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
||||
|
||||
int width = _overlayFramebuffer ? _overlayFramebuffer->getWidth() : 0;
|
||||
int height = _overlayFramebuffer ? _overlayFramebuffer->getHeight() : 0;
|
||||
|
|
Loading…
Reference in a new issue