From 354d7df4d2779ed7391701d1ef4344e959b64582 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 27 Dec 2017 19:21:12 +0000 Subject: [Broken] Texture is black. --- yage/core/camera.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'yage/core/camera.h') diff --git a/yage/core/camera.h b/yage/core/camera.h index 8ebe5d2a..ba07d423 100644 --- a/yage/core/camera.h +++ b/yage/core/camera.h @@ -6,15 +6,15 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_CAMERA2D_H -#define YAGE_CAMERA2D_H +#ifndef YAGE_CORE_CAMERA_H +#define YAGE_CORE_CAMERA_H #include namespace yage { -class GlslProgram; +class Shader; class Camera { @@ -28,7 +28,7 @@ private: public: Camera(int screen_width = 1280, int screen_height = 720); - void update(GlslProgram &program); + void update(Shader &program); void move(const glm::vec2 &direction); }; -- cgit