From e5208ab035bc454730edc847cad9d5af3ed92e8c Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 4 Jul 2010 23:39:24 +0200 Subject: fixed ChannelOrder.valueOf (new CL1.1 enums). --- src/com/jogamp/opencl/CLImageFormat.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/jogamp/opencl/CLImageFormat.java b/src/com/jogamp/opencl/CLImageFormat.java index 99b50cdc..3f1f6627 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: -- cgit v1.2.3