aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/imageloader.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-06-22 00:07:08 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-06-22 00:07:08 +0100
commit8e038f0114a6a2f6d2971ac9772bd0a053e3ccef (patch)
tree585a6083d56ce5c46e02eda4ba83001cd6c281d8 /yage/core/imageloader.cpp
parent9f2a6274a2e634e9b9b862f8b0c00a6a75768342 (diff)
downloadYAGE-8e038f0114a6a2f6d2971ac9772bd0a053e3ccef.tar.gz
YAGE-8e038f0114a6a2f6d2971ac9772bd0a053e3ccef.zip
Removing iostream
Diffstat (limited to 'yage/core/imageloader.cpp')
-rw-r--r--yage/core/imageloader.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/yage/core/imageloader.cpp b/yage/core/imageloader.cpp
index 4905bf5e..d3c978c1 100644
--- a/yage/core/imageloader.cpp
+++ b/yage/core/imageloader.cpp
@@ -11,15 +11,11 @@
#include "../data/texture.h"
#include "logger.h"
#include "stb_image.h"
-#include <iostream>
#include <glad/glad.h>
-#include <iostream>
#include <stdexcept>
-using std::cout;
-
namespace yage
{
@@ -32,7 +28,6 @@ Texture ImageLoader::loadPng(const std::string &file_path)
yLogDebug << "Sucessfully loaded file";
Texture texture(0, static_cast<int>(width), static_cast<int>(height));
yLogDebug << "Creating texture";
- cout << "Hello";
glGenTextures(1, &texture.id);
glBindTexture(GL_TEXTURE_2D, texture.id);