Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何以编程方式检查给定的 OpenGL ES 实现是否支持非 POT 纹理?
最后,在 Android 上对我有用的是:
static public boolean isNPOTSupported(GL10 gl) { String extensions = gl.glGetString(GL10.GL_EXTENSIONS); return extensions.indexOf("GL_OES_texture_npot") != -1; }