|
|
|
@ -100,11 +100,9 @@ struct FramebufferCacheKey {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, Core::System& system,
|
|
|
|
|
ScreenInfo& info)
|
|
|
|
|
: res_cache{*this}, shader_cache{*this, system}, global_cache{*this},
|
|
|
|
|
emu_window{window}, system{system}, screen_info{info},
|
|
|
|
|
buffer_cache(*this, STREAM_BUFFER_SIZE) {
|
|
|
|
|
RasterizerOpenGL::RasterizerOpenGL(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) {
|
|
|
|
|
// Create sampler objects
|
|
|
|
|
for (std::size_t i = 0; i < texture_samplers.size(); ++i) {
|
|
|
|
|
texture_samplers[i].Create();
|
|
|
|
|