Commit 72376542 authored by schultezub's avatar schultezub
Browse files

fixed wrong ifdef in weaklytypedpointer.cpp

git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@403 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
parent 9582dcbc
......@@ -228,6 +228,14 @@ namespace campvis {
return (_baseType == rhs._baseType) && (_numChannels == rhs._numChannels) && (_pointer == rhs._pointer);
}
bool WeaklyTypedPointer::isInteger() const {
return (_baseType != FLOAT);
}
bool WeaklyTypedPointer::isSigned() const {
return (_baseType == INT8) || (_baseType == INT16) || (_baseType == INT32);
}
#ifdef HAS_KISSCL
cl_channel_type WeaklyTypedPointer::getClChannelType() const {
switch (_baseType) {
......@@ -264,15 +272,6 @@ namespace campvis {
return CL_A;
}
}
bool WeaklyTypedPointer::isInteger() const {
return (_baseType != FLOAT);
}
bool WeaklyTypedPointer::isSigned() const {
return (_baseType == INT8) || (_baseType == INT16) || (_baseType == INT32);
}
#endif
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment