aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-04 23:39:24 +0200
committerMichael Bien <[email protected]>2010-07-04 23:39:24 +0200
commite5208ab035bc454730edc847cad9d5af3ed92e8c (patch)
treed4fe83dce26f1c37d5602b87032afd050ab4307a /src
parent4760089650228703bab990565fa9a3bdba2edb43 (diff)
fixed ChannelOrder.valueOf (new CL1.1 enums).
Diffstat (limited to 'src')
-rw-r--r--src/com/jogamp/opencl/CLImageFormat.java6
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: