summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLMemory.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-27 00:56:26 +0100
committerMichael Bien <[email protected]>2010-02-27 00:56:26 +0100
commitcdd12998f454a45c459166528ff155f6f15e2142 (patch)
tree124347b389637f7d4917ff344247204d6e557308 /src/com/mbien/opencl/CLMemory.java
parent34bb39283a30919212b682c34bb54d8cd3626cbd (diff)
removed .idea/workspace.xml from repo and updated .gitignore.
updated intellij project files.
Diffstat (limited to 'src/com/mbien/opencl/CLMemory.java')
-rw-r--r--src/com/mbien/opencl/CLMemory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLMemory.java b/src/com/mbien/opencl/CLMemory.java
index 0be1b530..6498bcc7 100644
--- a/src/com/mbien/opencl/CLMemory.java
+++ b/src/com/mbien/opencl/CLMemory.java
@@ -105,7 +105,7 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL
/**
* Returns the OpenGL buffer type of this shared buffer.
*/
- /*public*/ GLObjectType getGLObjectType() {
+ /*public*/ final GLObjectType _getGLObjectType() {
int[] array = new int[1];
int ret = ((CLGLI)cl).clGetGLObjectInfo(ID, array, 0, null, 0);
CLException.checkForError(ret, "error while asking for gl object info");
@@ -115,7 +115,7 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL
/**
* Returns the OpenGL object id of this shared buffer.
*/
- /*public*/ int getGLObjectID() {
+ /*public*/ final int _getGLObjectID() {
int[] array = new int[1];
int ret = ((CLGLI)cl).clGetGLObjectInfo(ID, null, 0, array, 0);
CLException.checkForError(ret, "error while asking for gl object info");