mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 12:48:32 +09:00
[Misc] (MG_Impl/Getter): Stub for GL_MAX_SAMPLES.
This commit is contained in:
@@ -888,6 +888,9 @@ namespace MobileGL {
|
||||
case GL_MAX_DRAW_BUFFERS:
|
||||
*params = MG_State::GLState::FramebufferObject::MAX_DRAW_BUFFERS; // TODO: use backend value
|
||||
break;
|
||||
case GL_MAX_SAMPLES:
|
||||
*params = 16; // TODO
|
||||
break;
|
||||
default:
|
||||
MGLOG_E("glGetIntegerv: Invalid enum %s (0x%X)", MG_Util::ConvertGLEnumToString(pname).c_str(), pname);
|
||||
MG_State::pGLContext->RecordError(
|
||||
|
||||
Reference in New Issue
Block a user