mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 01:52:29 -06:00
Run clang format once more
This commit is contained in:
parent
48d5ec5c00
commit
926d604312
2 changed files with 3 additions and 4 deletions
|
@ -146,8 +146,7 @@ RasterizerOpenGL::RasterizerOpenGL(Frontend::EmuWindow& emu_window)
|
||||||
if (IsVendorIntel()) {
|
if (IsVendorIntel()) {
|
||||||
shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, false);
|
shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, false);
|
||||||
} else {
|
} else {
|
||||||
shader_program_manager =
|
shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, false);
|
||||||
std::make_unique<ShaderProgramManager>(emu_window, false);
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, !GLES);
|
shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, !GLES);
|
||||||
|
@ -629,7 +628,7 @@ bool RasterizerOpenGL::Draw(bool accelerate, bool is_indexed) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const auto BindCubeFace = [&](GLuint& target, Pica::TexturingRegs::CubeFace face,
|
const auto BindCubeFace = [&](GLuint& target, Pica::TexturingRegs::CubeFace face,
|
||||||
Pica::Texture::TextureInfo& info) {
|
Pica::Texture::TextureInfo& info) {
|
||||||
info.physical_address = regs.texturing.GetCubePhysicalAddress(face);
|
info.physical_address = regs.texturing.GetCubePhysicalAddress(face);
|
||||||
Surface surface = res_cache.GetTextureSurface(info);
|
Surface surface = res_cache.GetTextureSurface(info);
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
#include <functional>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <functional>
|
|
||||||
#include "core/frontend/emu_window.h"
|
#include "core/frontend/emu_window.h"
|
||||||
|
|
||||||
namespace Frontend {
|
namespace Frontend {
|
||||||
|
|
Loading…
Reference in a new issue