Browse Source

Removed unused pixelSize constants.

David Piuva 11 months ago
parent
commit
b484eb930c

+ 0 - 1
Source/DFPSR/image/ImageF32.h

@@ -31,7 +31,6 @@ namespace dsr {
 class ImageF32Impl : public ImageImpl {
 public:
 	static const int32_t channelCount = 1;
-	//static const int32_t pixelSize = 4;
 	// Inherit constructors
 	using ImageImpl::ImageImpl;
 	ImageF32Impl(int32_t newWidth, int32_t newHeight, int32_t newStride, Buffer buffer, intptr_t startOffset);

+ 0 - 1
Source/DFPSR/image/ImageRgbaU8.h

@@ -93,7 +93,6 @@ struct TextureRgba {
 class ImageRgbaU8Impl : public ImageImpl {
 public:
 	static const int32_t channelCount = 4;
-	//static const int32_t pixelSize = channelCount;
 	PackOrder packOrder;
 	// Macro defined functions
 	IMAGE_DECLARATION(ImageRgbaU8Impl, 4, Color4xU8, uint8_t);

+ 0 - 1
Source/DFPSR/image/ImageU16.h

@@ -32,7 +32,6 @@ namespace dsr {
 class ImageU16Impl : public ImageImpl {
 public:
 	static const int32_t channelCount = 1;
-	//static const int32_t pixelSize = 2;
 	// Inherit constructors
 	using ImageImpl::ImageImpl;
 	ImageU16Impl(int32_t newWidth, int32_t newHeight, int32_t newStride, Buffer buffer, intptr_t startOffset);

+ 0 - 1
Source/DFPSR/image/ImageU8.h

@@ -31,7 +31,6 @@ namespace dsr {
 class ImageU8Impl : public ImageImpl {
 public:
 	static const int32_t channelCount = 1;
-	//static const int32_t pixelSize = channelCount;
 	// Inherit constructors
 	using ImageImpl::ImageImpl;
 	// Constructors