mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-10 17:05:08 +00:00
gl: Fix crash when launching multiple games with MSAA enabled
This commit is contained in:
parent
0d4f3cf0a5
commit
485927ed0d
4 changed files with 12 additions and 1 deletions
|
|
@ -10,6 +10,14 @@ namespace gl
|
|||
std::unordered_map<GLuint, std::unique_ptr<ds_resolve_pass_base>> g_depth_resolvers;
|
||||
std::unordered_map<GLuint, std::unique_ptr<ds_resolve_pass_base>> g_depth_unresolvers;
|
||||
|
||||
void clear_resolve_helpers()
|
||||
{
|
||||
g_resolve_helpers.clear();
|
||||
g_unresolve_helpers.clear();
|
||||
g_depth_resolvers.clear();
|
||||
g_depth_unresolvers.clear();
|
||||
}
|
||||
|
||||
static const char* get_format_string(gl::texture::internal_format format)
|
||||
{
|
||||
switch (format)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue