mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- added information about full OpenGL features support to survey code.
This commit is contained in:
parent
5011f1b33b
commit
bb5dc92225
1 changed files with 6 additions and 2 deletions
|
@ -270,8 +270,12 @@ static int GetCoreInfo()
|
|||
static int GetRenderInfo()
|
||||
{
|
||||
auto info = gl_getInfo();
|
||||
if (info.first < 3.3) return 3; // Legacy OpenGL. Don't care about Intel HD 3000 on Windows being run in 'risky' mode.
|
||||
if (!info.second) return 4;
|
||||
if (info.first < 3.3) return 0;
|
||||
if (!info.second)
|
||||
{
|
||||
if (screen->hwcaps & (RFL_SHADER_STORAGE_BUFFER | RFL_BUFFER_STORAGE) == RFL_SHADER_STORAGE_BUFFER | RFL_BUFFER_STORAGE) return 3;
|
||||
return 4;
|
||||
}
|
||||
return 5;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue