You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
345 B

​
​
​
​
​
​
​
​
​
​
​
  1. #include "coreOpenGLWidget.h"
  2. sdlOpenGLWidget::sdlOpenGLWidget(int x, int y, int w, int h, bool decor, sdlCoreWidget* pParent): sdlCoreWidget(x,y,w,h,decor,pParent) {
  3. m_pContext = NULL;
  4. };
  5. sdlOpenGLWidget::~sdlOpenGLWidget() {
  6. if (m_pContext != NULL)SDL_GL_DeleteContext(m_pContext);
  7. };
  8. bool sdlOpenGLWidget::create(void) {
  9. return false;
  10. };