From 49aba83fa6f3393214919166c42fb55c5a9a7796 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Jun 2014 23:04:53 +0300 Subject: Add basic shaders in modernopengl. Add draw/fill rectangle functions. --- src/render/openglgraphicsdef.hpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/render/openglgraphicsdef.hpp') diff --git a/src/render/openglgraphicsdef.hpp b/src/render/openglgraphicsdef.hpp index 4a48d919a..016c2762c 100644 --- a/src/render/openglgraphicsdef.hpp +++ b/src/render/openglgraphicsdef.hpp @@ -21,20 +21,6 @@ */ public: - void setColor(const Color &color) override final - { - mColor = color; - mColor2 = color; - mColorAlpha = (color.a != 255); - } - - void setColorAll(const Color &color, const Color &color2) - { - mColor = color; - mColor2 = color2; - mColorAlpha = (color.a != 255); - } - void drawRectangle(const Rect &rect, const bool filled); -- cgit v1.2.3-70-g09d2