mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 14:25:45 -04:00
Clean up some compiler warnings
This commit is contained in:
@ -126,7 +126,7 @@ bool CDImageCHD::Open(const char* filename)
|
||||
char pgsub_str[256];
|
||||
u32 metadata_length;
|
||||
|
||||
int track_num = 0, frames = 0, pad = 0, pregap_frames = 0, postgap_frames = 0;
|
||||
int track_num = 0, frames = 0, pregap_frames = 0, postgap_frames = 0;
|
||||
err = chd_get_metadata(m_chd, CDROM_TRACK_METADATA2_TAG, num_tracks, metadata_str, sizeof(metadata_str),
|
||||
&metadata_length, nullptr, nullptr);
|
||||
if (err == CHDERR_NONE)
|
||||
|
@ -158,7 +158,6 @@ void Texture::GetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLi
|
||||
else
|
||||
glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, level);
|
||||
|
||||
GLuint status = glCheckFramebufferStatus(GL_READ_FRAMEBUFFER);
|
||||
DebugAssert(glCheckFramebufferStatus(GL_READ_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
|
||||
glReadPixels(xoffset, yoffset, width, height, format, type, pixels);
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "../string_util.h"
|
||||
#include "context.h"
|
||||
#include "shader_compiler.h"
|
||||
Log_SetChannel(Vulkan::Util);
|
||||
|
||||
namespace Vulkan {
|
||||
namespace Util {
|
||||
|
Reference in New Issue
Block a user