c - how to detect if openGL/card supports non power of 2? -


What is the best way to find out whether any graphics card and compiled open GL binary texture supports 2 times are not power?

You can use with glGet or GLEW.

Edit to reflect comments: This feature is required as OpenGL 2.0 and ARB_texture_non_power_of_two should not be defined. How to know the current version? Jerry explains: Depending on the GPU, this feature can be implemented in the software and the display will not be good if you use texture with two-two-size non-power.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -