Some colobot-lint fixes
parent
8baccb08a7
commit
720705bd6b
|
@ -3394,9 +3394,9 @@ void CEngine::DrawCrashSpheres()
|
|||
|
||||
SetState(ENG_RSTATE_OPAQUE_COLOR);
|
||||
|
||||
const int LINE_SEGMENTS = 32;
|
||||
const int LONGITUDE_DIVISIONS = 16;
|
||||
const int LATITUDE_DIVISIONS = 8;
|
||||
static const int LINE_SEGMENTS = 32;
|
||||
static const int LONGITUDE_DIVISIONS = 16;
|
||||
static const int LATITUDE_DIVISIONS = 8;
|
||||
|
||||
VertexCol line[LINE_SEGMENTS];
|
||||
Color color(0.0f, 0.0f, 1.0f);
|
||||
|
|
|
@ -628,7 +628,7 @@ PreparedTextureData PrepareTextureData(ImageData* imageData, TexImgFormat format
|
|||
|
||||
if (convert)
|
||||
{
|
||||
SDL_PixelFormat format;
|
||||
SDL_PixelFormat format = {};
|
||||
format.BytesPerPixel = 4;
|
||||
format.BitsPerPixel = 32;
|
||||
format.Aloss = format.Bloss = format.Gloss = format.Rloss = 0;
|
||||
|
|
|
@ -108,7 +108,7 @@ struct PreparedTextureData
|
|||
bool alpha = false;
|
||||
};
|
||||
|
||||
PreparedTextureData PrepareTextureData(ImageData* data, TexImgFormat format);
|
||||
PreparedTextureData PrepareTextureData(ImageData* imageData, TexImgFormat format);
|
||||
|
||||
class CGLFrameBufferPixels : public CFrameBufferPixels
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue