GLWindow to change background color
Posted: Mon Sep 10, 2018 1:58 am
As indicated by the title.
In my program(c++ code), I create a ccGLwindow as a widget like "ccViewer".
But I want to change the background-color of the window.
where should I modify the resource code ?
I'd searched in ccGLwindow.h/.cpp , but I still have no idea so far.
I will be grateful for any help you can provide.
In my program(c++ code), I create a ccGLwindow as a widget like "ccViewer".
But I want to change the background-color of the window.
where should I modify the resource code ?
I'd searched in ccGLwindow.h/.cpp , but I still have no idea so far.
I will be grateful for any help you can provide.