Revision f79c9f57
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/library/program/FragmentCompilationException.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
23 | 23 |
|
24 |
import org.distorted.library.main.DistortedLibrary; |
|
25 |
|
|
26 | 24 |
/** |
27 |
* Thrown by {@link DistortedLibrary#onSurfaceCreated(android.content.Context, org.distorted.library.main.DistortedLibrary.ExceptionListener)}
|
|
28 |
* if compilation of the fragment shader fails for some other reason than too many uniforms.
|
|
25 |
* Thrown asynchronously by the library whenever shader compilation fails.
|
|
26 |
* If compilation of the fragment shader fails for some other reason than too many uniforms.
|
|
29 | 27 |
* <p> |
30 | 28 |
* This can happen on older OpenGL ES 2.0 devices if they, say, do not support variable loops in the shaders. |
31 | 29 |
* Theoretically should never happen on devices supporting at least OpenGL ES 3.0. |
Also available in: Unified diff
Correct comments.