JuanCarlosAragon / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Renderer should have capability to check image format support #340

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to load a LATC, RGB32F, or other exotic image format
2. On GPU that do not supported, the image will be uploaded with the incorrect 
enum. Causing a GL error.

What is the expected output? What do you see instead?
I expect jME3 to detect unsupported image formats and take action accordingly. 
E.g. throw an exception. In addition, the ability to detect if the renderer 
supports the format should be available to the user so that an appropriate 
replacement image could be uploaded.

This issue is important as it can cause weird crashes or GL errors.

Original issue reported on code.google.com by ShadowIs...@gmail.com on 28 Apr 2011 at 6:34

GoogleCodeExporter commented 8 years ago

Original comment by ShadowIs...@gmail.com on 1 May 2011 at 4:42