Blackberry 10 fully supported with working video, input and sound on Playbook, Dev Alpha and beyond.

Video: http://www.youtube.com/watch?v=CdUL1DalYrw
This commit is contained in:
Sacha committed 2012-11-08 03:29:35 +10:00
1 parent 652045e462
commit 0c77415df1
5 files changed
+411 -14

No files matched your search

+1 -4
View File
@@ -178,7 +178,6 @@ int main(int argc, char *argv[]) {
}
}
net::Init();
#ifdef __APPLE__
// Make sure to request a somewhat modern GL context at least - the
@@ -203,13 +202,12 @@ int main(int argc, char *argv[]) {
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);
if (SDL_SetVideoMode(pixel_xres, pixel_yres, 0, SDL_OPENGL) == NULL) {
fprintf(stderr, "SDL SetVideoMode failed: Unable to create OpenGL screen: %s\n", SDL_GetError());
SDL_Quit();
return(2);
}
#ifndef BLACKBERRY
SDL_WM_SetCaption(app_name_nice.c_str(), NULL);
if (GLEW_OK != glewInit()) {
@@ -223,7 +221,6 @@ int main(int argc, char *argv[]) {
printf("Sorry, this program requires OpenGL 2.0.\n");
return 1;
}
#endif
#ifdef _MSC_VER
// VFSRegister("temp/", new DirectoryAssetReader("E:\\Temp\\"));