Warning fixes

This commit is contained in:
Henrik Rydgård 2017-01-17 19:41:53 +07:00
parent ac2df14aa2
commit e47138a5f3
3 changed files with 3 additions and 3 deletions

View file

@ -109,7 +109,7 @@ u32 QuickTexHashNonSSE(const void *checkp, u32 size) {
u32 x32[4];
u16 x16[8];
};
u32x4_u16x8 cursor = {0, 0, 0, 0};
u32x4_u16x8 cursor{};
u32x4_u16x8 cursor2;
static const u16 update[8] = {0x2455U, 0x2455U, 0x2455U, 0x2455U, 0x2455U, 0x2455U, 0x2455U, 0x2455U};

View file

@ -96,7 +96,7 @@ protected:
void CopyToCurrentFboFromDisplayRam(int srcwidth, int srcheight);
private:
void CopyDisplayToOutputInternal();
void CopyDisplayToOutputInternal() override;
bool framebufferDirty_;
u32 displayFramebuf_;

View file

@ -316,7 +316,7 @@ public:
int GetUBOSize() const {
return uboSize_;
}
bool RequiresBuffer() {
bool RequiresBuffer() override {
return false;
}