Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Namespaces | Macros | Functions
framebuffer.cpp File Reference
#include "engine/renderer/framebuffer.h"
#include <glad/glad.h>
#include <utility>
#include <tracy/Tracy.hpp>
#include "engine/enginelogger.h"
#include "engine/glfwdebug.h"
#include "engine/graphics/primitives/pane.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::engine
 

Macros

#define FRAMEBUFFER_ERROR()
 

Functions

void cqsp::engine::GenerateFrameBuffer (unsigned int &framebuffer)
 
const char * cqsp::engine::FramebufferStatusToString (GLenum error)
 

Macro Definition Documentation

◆ FRAMEBUFFER_ERROR

#define FRAMEBUFFER_ERROR ( )
Value:
do { \
GLenum framebuffer_status = glCheckFramebufferStatus(GL_FRAMEBUFFER); \
if (framebuffer_status != GL_FRAMEBUFFER_COMPLETE) { \
ENGINE_LOG_ERROR("Incomplete framebuffer: 0x{:x} ({})!", framebuffer_status, \
FramebufferStatusToString(framebuffer_status)); \
} \
} while (0)
const char * FramebufferStatusToString(GLenum error)
Definition: framebuffer.cpp:253