\
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "RendererOpenGL.h"
|
||||
|
||||
#include "pch.hpp"
|
||||
|
||||
#define GLEW_STATIC
|
||||
#include <GL/glew.h>
|
||||
|
||||
@@ -11,7 +13,7 @@ namespace Archimedes {
|
||||
|
||||
void RendererOpenGL::render(std::list<renderCmd*> cmdList, int& w, int& h) {
|
||||
|
||||
glViewport(0, 0, &w, &h);
|
||||
glViewport(0, 0, w, h);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "pch.hpp"
|
||||
|
||||
#include "WindowGLFW.h"
|
||||
|
||||
namespace Archimedes {
|
||||
|
||||
Reference in New Issue
Block a user