Game rendering now.
This commit is contained in:
@ -15,17 +15,16 @@ RenderManager::RenderManager(std::weak_ptr<DawnGame> game) {
|
||||
|
||||
void RenderManager::init() {
|
||||
glClearColor(
|
||||
0.39215686274f,
|
||||
0.39215686274f,
|
||||
0.58431372549f,
|
||||
0.9294117647f,
|
||||
1.0f
|
||||
);
|
||||
|
||||
glViewport(0, 0, 500, 500);
|
||||
glViewport(0, 0, 1280, 720);
|
||||
}
|
||||
|
||||
void RenderManager::update() {
|
||||
printf("Rendering\n");
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user