Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window size #5

Closed
mumin16 opened this issue Sep 22, 2017 · 2 comments
Closed

window size #5

mumin16 opened this issue Sep 22, 2017 · 2 comments
Labels

Comments

@mumin16
Copy link

mumin16 commented Sep 22, 2017

windows:
glfwCreateWindow(1024, 768, "app", NULL, NULL);
vs
android:
ANativeWindow_setBuffersGeometry(engine->app->window,1024,768, format);//line 468

why my layout(1024x768) is problem in android?

@brackeen
Copy link
Owner

In GLFM the window dimensions ares generally the same as the screen dimensions. If you need a specific size, you can create a 1024x768 FBO and scale to the display size. (This is recommended for GLFW full-screen apps, too.)

@brackeen
Copy link
Owner

Closing this as there has been no activity for a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants