[Improvement] (All): Remove redundant code.

This commit is contained in:
BZLZHH
2025-06-20 23:44:20 +08:00
parent 537ec9e2b0
commit bc61669dad
3 changed files with 3 additions and 16 deletions
@@ -9,7 +9,7 @@ namespace MG_GL::GL {
const FramebufferObject& fbo,
MG_Diligent::GLFramebufferInfo& fbInfo);
inline bool IsSamplerType(GLenum type) {
bool IsSamplerType(GLenum type) {
switch (type) {
case GL_SAMPLER_2D:
case GL_SAMPLER_3D:
@@ -7,6 +7,8 @@
#include "../../../../Includes.h"
namespace MG_GL::GL {
bool IsSamplerType(GLenum type);
void DrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
void DrawArrays(GLenum mode, GLint first, GLsizei count);
void DrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);