mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
parent
ffb4a5b565
commit
29cfb6efff
10 changed files with 13 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
|||
# When enabling SDL2 by default on macOS, don't forget to change
|
||||
# "NSHighResolutionCapable" to true in "Info.plist".
|
||||
if(NOT APPLE)
|
||||
if(ANDROID)
|
||||
set(DEFAULT_SDL2 ON)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ public:
|
|||
#endif
|
||||
GLint max_samples = 0;
|
||||
GL.GetIntegerv(GL_MAX_SAMPLES, &max_samples);
|
||||
MSAA = std::min(MSAA, (u8)max_samples);
|
||||
MSAA = core::min_(MSAA, (u8)max_samples);
|
||||
|
||||
if (use_gl_impl)
|
||||
GL.TexImage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, MSAA, InternalFormat, Size.Width, Size.Height, GL_TRUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue