diff options
author | Michael Bien <[email protected]> | 2010-07-04 23:39:24 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-07-04 23:39:24 +0200 |
commit | e5208ab035bc454730edc847cad9d5af3ed92e8c (patch) | |
tree | d4fe83dce26f1c37d5602b87032afd050ab4307a /src | |
parent | 4760089650228703bab990565fa9a3bdba2edb43 (diff) |
fixed ChannelOrder.valueOf (new CL1.1 enums).
Diffstat (limited to 'src')
-rw-r--r-- | src/com/jogamp/opencl/CLImageFormat.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLImageFormat.java b/src/com/jogamp/opencl/CLImageFormat.java index 99b50cd..3f1f662 100644 --- a/src/com/jogamp/opencl/CLImageFormat.java +++ b/src/com/jogamp/opencl/CLImageFormat.java @@ -177,6 +177,8 @@ public final class CLImageFormat { switch (orderFlag) { case CL_R: return R; + case CL_Rx: + return Rx; case CL_A: return A; case CL_INTENSITY: @@ -185,10 +187,14 @@ public final class CLImageFormat { return LUMINANCE; case CL_RG: return RG; + case CL_RGx: + return RGx; case CL_RA: return RA; case CL_RGB: return RGB; + case CL_RGBx: + return RGBx; case CL_RGBA: return RGBA; case CL_ARGB: |