From 3a33b4bf49720d0699abd701d15f22d4d785a52f Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 5 Nov 2014 17:25:33 +0000 Subject: [PATCH] removed file with wrong case --- .../BinaryData/jucer_OpenglComponentTemplate.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extras/Introjucer/Source/BinaryData/jucer_OpenglComponentTemplate.cpp b/extras/Introjucer/Source/BinaryData/jucer_OpenglComponentTemplate.cpp index 538867c096..bb256a7967 100644 --- a/extras/Introjucer/Source/BinaryData/jucer_OpenglComponentTemplate.cpp +++ b/extras/Introjucer/Source/BinaryData/jucer_OpenglComponentTemplate.cpp @@ -27,8 +27,6 @@ public: ~MainContentComponent() { - // (Your class must call this in its destructor to stop the - // rendering callbacks happening after your class has been deleted) shutdownOpenGL(); } @@ -42,13 +40,15 @@ public: void render() override { - OpenGLHelpers::clear (Colours::lightblue); } void paint (Graphics& g) override { - // You can add normal 2D drawing code here, which will be - // drawn over the GL content. + // (Our component is opaque, so we must completely fill the background with a solid colour) + g.fillAll (Colours::black); + + + // You can add your drawing code here! } void resized() override