mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
GPU: Avoid some unused var/func warnings.
This commit is contained in:
1 parent
b80988a4eb
commit
3e51fc5a89
3 files changed
+9
-4
No files matched your search
@@ -107,7 +107,6 @@ void GLQueueRunner::RunInitSteps(const std::vector<GLRInitStep> &steps, bool ski
|
||||
}
|
||||
case GLRInitStepType::TEXTURE_IMAGE:
|
||||
{
|
||||
GLRTexture *tex = step.texture_image.texture;
|
||||
if (step.texture_image.allocType == GLRAllocType::ALIGNED) {
|
||||
FreeAlignedMemory(step.texture_image.data);
|
||||
} else if (step.texture_image.allocType == GLRAllocType::NEW) {
|
||||
@@ -1317,9 +1316,8 @@ void GLQueueRunner::PerformReadback(const GLRStep &pass) {
|
||||
}
|
||||
|
||||
void GLQueueRunner::PerformReadbackImage(const GLRStep &pass) {
|
||||
GLRTexture *tex = pass.readback_image.texture;
|
||||
|
||||
#ifndef USING_GLES2
|
||||
GLRTexture *tex = pass.readback_image.texture;
|
||||
GLRect2D rect = pass.readback_image.srcRect;
|
||||
|
||||
if (gl_extensions.VersionGEThan(4, 5)) {
|
||||
|
||||
Reference in new issue
Block a user