Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>where else can you get a GLES window up in 3 lines of code?

Everywhere somebody built an abstraction to do it.

#include <SDL.h>

...........

SDL_Init(SDL_INIT_VIDEO);

SDL_Window *window = SDL_CreateWindow("MyApp", 0, 0, 1920, 1080, 0);



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: