using log calls
This commit is contained in:
@@ -8,14 +8,16 @@
|
||||
#include "window/Display.h"
|
||||
#define GLFW_INCLUDE_NONE
|
||||
#include "render/gui/TowerGui.h"
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_video.h>
|
||||
#include <iostream>
|
||||
#include "game/GameManager.h"
|
||||
#include "render/Renderer.h"
|
||||
#include "render/WorldRenderer.h"
|
||||
#include "../render/gui/imgui/imgui_impl_sdl.h"
|
||||
#include "misc/Log.h"
|
||||
#include "misc/Format.h"
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_video.h>
|
||||
#include <SDL2/SDL_render.h>
|
||||
|
||||
namespace Display {
|
||||
@@ -94,8 +96,7 @@ bool Create() {
|
||||
mask_desc = "?";
|
||||
}
|
||||
|
||||
std::cout << "GL Context: " << major << "." << minor << " " << mask_desc
|
||||
<< ", Color : R" << r << "G" << g << "B" << b << "A" << a << ", Depth bits: " << depth << std::endl;
|
||||
td::utils::LOG(td::utils::format("GL Context : %i.%i %s, Color : R:%i G:%i B:%i A:%i, Depth bits : %i", major, minor, mask_desc, r, g, b, a, depth));
|
||||
|
||||
SDL_GL_MakeCurrent(window, glContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user