libsegl/testprog.cpp

15 lines
186 B
C++

#include <iostream>
#include "glsdlscreen.h"
int main() {
GLSDLScreen screen;
screen.enableOpenGL(true);
screen.setVideoMode(640, 480, 32);
screen.apply();
// whee
return 0;
}