mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoConfig: add bSupportsFragmentStoresAndAtomics
This commit is contained in:
parent
8e6d256722
commit
de940a5fd6
9 changed files with 19 additions and 7 deletions
|
@ -17,7 +17,7 @@ namespace OGL
|
|||
{
|
||||
void BoundingBox::Init()
|
||||
{
|
||||
if (g_ActiveConfig.backend_info.bSupportsBBox)
|
||||
if (g_ActiveConfig.backend_info.bSupportsFragmentStoresAndAtomics)
|
||||
{
|
||||
int initial_values[4] = {0, 0, 0, 0};
|
||||
glGenBuffers(1, &s_bbox_buffer_id);
|
||||
|
@ -29,8 +29,10 @@ void BoundingBox::Init()
|
|||
|
||||
void BoundingBox::Shutdown()
|
||||
{
|
||||
if (g_ActiveConfig.backend_info.bSupportsBBox)
|
||||
if (g_ActiveConfig.backend_info.bSupportsFragmentStoresAndAtomics)
|
||||
{
|
||||
glDeleteBuffers(1, &s_bbox_buffer_id);
|
||||
}
|
||||
}
|
||||
|
||||
void BoundingBox::Set(int index, int value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue