diff options
| author | Ray <[email protected]> | 2024-05-05 19:46:31 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-05-05 19:46:31 +0200 |
| commit | 34d00d52177230cb3434240c263a0529aa0b4891 (patch) | |
| tree | dece7b21e111712160742dc94a00b36245ac45c1 /src | |
| parent | f1007554a0a8145060797c0aa8169bdaf2c1c6b8 (diff) | |
| download | raylib-34d00d52177230cb3434240c263a0529aa0b4891.tar.gz raylib-34d00d52177230cb3434240c263a0529aa0b4891.zip | |
Minor formatting tweaks
Diffstat (limited to 'src')
| -rw-r--r-- | src/external/rl_gputex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/external/rl_gputex.h b/src/external/rl_gputex.h index 2cbe5963..c5773055 100644 --- a/src/external/rl_gputex.h +++ b/src/external/rl_gputex.h @@ -229,7 +229,7 @@ void *rl_load_dds_from_memory(const unsigned char *file_data, unsigned int file_ } } } - else if (header->ddspf.flags == 0x40 && header->ddspf.rgb_bit_count == 24) // DDS_RGB, no compressed + else if ((header->ddspf.flags == 0x40) && (header->ddspf.rgb_bit_count == 24)) // DDS_RGB, no compressed { int data_size = image_pixel_size*3*sizeof(unsigned char); image_data = RL_MALLOC(data_size); @@ -238,7 +238,7 @@ void *rl_load_dds_from_memory(const unsigned char *file_data, unsigned int file_ *format = PIXELFORMAT_UNCOMPRESSED_R8G8B8; } - else if (header->ddspf.flags == 0x41 && header->ddspf.rgb_bit_count == 32) // DDS_RGBA, no compressed + else if ((header->ddspf.flags == 0x41) && (header->ddspf.rgb_bit_count == 32)) // DDS_RGBA, no compressed { int data_size = image_pixel_size*4*sizeof(unsigned char); image_data = RL_MALLOC(data_size); |
