Fixes to Const Buffer Accessor and Formatting

This commit is contained in:
Fernando Sahmkow 2019-03-26 18:46:46 -04:00 committed by FernandoS27
parent 7af82ca022
commit 90d06acfed
3 changed files with 10 additions and 10 deletions

View file

@ -101,8 +101,7 @@ struct FramebufferCacheKey {
RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, Core::System& system,
ScreenInfo& info)
: res_cache{*this}, shader_cache{*this, system}, global_cache{*this}, system{system},
screen_info{info}, buffer_cache(*this, STREAM_BUFFER_SIZE),
const_buffer_accessor(system.GPU().Maxwell3D()) {
screen_info{info}, buffer_cache(*this, STREAM_BUFFER_SIZE), const_buffer_accessor() {
// Create sampler objects
for (std::size_t i = 0; i < texture_samplers.size(); ++i) {
texture_samplers[i].Create();