Update to opengl 3.3 for SP

This commit is contained in:
Benau 2018-01-14 01:28:30 +08:00
parent 59045cd064
commit d0fb0500eb
3 changed files with 7 additions and 9 deletions

View File

@ -10,7 +10,7 @@ The SuperTuxKart homepage can be found at <https://supertuxkart.net/>. There is
## Hardware Requirements
To run SuperTuxKart, make sure that your computer's specifications are equal or higher than the following specifications:
* A graphics card capable of 3D rendering - NVIDIA GeForce 8 series and newer (GeForce 8100 or newer), AMD/ATI Radeon HD 4000 series and newer, Intel HD Graphics 3000 and newer. OpenGL >= 3.1
* A graphics card capable of 3D rendering - NVIDIA GeForce 8 series and newer (GeForce 8100 or newer), AMD/ATI Radeon HD 4000 series and newer, Intel HD Graphics 3000 and newer. OpenGL >= 3.3
* You should have a CPU that's running at 1 GHz or faster.
* You'll need at least 512 MB of free VRAM (video memory).
* Minimum disk space: 800 MB

View File

@ -292,7 +292,7 @@ bool CentralVideoSettings::isARBGeometryShadersUsable() const
bool CentralVideoSettings::isARBUniformBufferObjectUsable() const
{
return hasUBO ||
(m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 3));
(m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1));
}
bool CentralVideoSettings::isARBExplicitAttribLocationUsable() const

View File

@ -608,10 +608,10 @@ void cmdLineHelp()
" --disable-light-shaft Disable light shafts (God rays).\n"
" --enable-dof Enable depth of field.\n"
" --disable-dof Disable depth of field.\n"
" --enable-gi Enable global illumination.\n"
" --disable-gi Disable global illumination.\n"
" --enable-gfx Enable animated scenery.\n"
" --disable-gfx Disable animated scenery.\n"
" --enable-particles Enable particles.\n"
" --disable-particles Disable particles.\n"
" --enable-animated-characters Enable animated characters.\n"
" --disable-animated-characters Disable animated characters.\n"
" --enable-motion-blur Enable motion blur.\n"
" --disable-motion-blur Disable motion blur.\n"
" --enable-mlaa Enable anti-aliasing.\n"
@ -626,8 +626,6 @@ void cmdLineHelp()
" --disable-hd-textures Disable high definition textures.\n"
" --enable-dynamic-lights Enable advanced pipline.\n"
" --disable-dynamic-lights Disable advanced pipline.\n"
" --enable-trilinear Use trilinear texture filtering.\n"
" --disable-trilinear Use bilinear texture filtering.\n"
" --anisotropic=n Anisotropic filtering quality (0 to disable).\n"
" Takes precedence over trilinear or bilinear\n"
" texture filtering.\n"
@ -1681,7 +1679,7 @@ int main(int argc, char *argv[] )
#ifdef USE_GLES2
irr::core::stringw version = "OpenGL ES 3.0";
#else
irr::core::stringw version = "OpenGL 3.1";
irr::core::stringw version = "OpenGL 3.3";
#endif
MessageDialog *dialog =
new MessageDialog(_("Your OpenGL version appears to be "