bool instead of boolean
This commit is contained in:
parent
83df699dcf
commit
cdf8c68d9e
1 changed files with 2 additions and 2 deletions
|
|
@ -308,7 +308,7 @@ public:
|
||||||
// Get format properties for the swapchain color format
|
// Get format properties for the swapchain color format
|
||||||
VkFormatProperties formatProps;
|
VkFormatProperties formatProps;
|
||||||
|
|
||||||
boolean supportsBlit = true;
|
bool supportsBlit = true;
|
||||||
|
|
||||||
// Check blit support for source and destination
|
// Check blit support for source and destination
|
||||||
|
|
||||||
|
|
@ -476,7 +476,7 @@ public:
|
||||||
file << "P6\n" << width << "\n" << height << "\n" << 255 << "\n";
|
file << "P6\n" << width << "\n" << height << "\n" << 255 << "\n";
|
||||||
|
|
||||||
// If source is BGR (destination is always RGB) and we can't use blit (which does automatic conversion), we'll have to manually swizzle color components
|
// If source is BGR (destination is always RGB) and we can't use blit (which does automatic conversion), we'll have to manually swizzle color components
|
||||||
boolean colorSwizzle = false;
|
bool colorSwizzle = false;
|
||||||
// Check if source is BGR
|
// Check if source is BGR
|
||||||
// Note: Not complete, only contains most common and basic BGR surface formats for demonstation purposes
|
// Note: Not complete, only contains most common and basic BGR surface formats for demonstation purposes
|
||||||
if (!supportsBlit)
|
if (!supportsBlit)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue