Docs, is-named bool functions and MSVC utf-8

This commit is contained in:
shweet committed 2026-11-12 21:48:04 -05:00
1 parent 1a0db1abbd
commit 1cf4d1ea85
18 files changed
+443 -586

No files matched your search

+3 -3
View File
@@ -119,7 +119,7 @@ static Texture texture_create(int width, int height, const void* pixels)
return texture;
}
bool Renderer::init()
void Renderer::init()
{
bool isLoaded = true;
#define GL_FUNCTION_LOAD(name) \
@@ -128,7 +128,7 @@ bool Renderer::init()
GL_FUNCTIONS(GL_FUNCTION_LOAD)
#undef GL_FUNCTION_LOAD
if (!isLoaded)
return false;
return;
program = gl.CreateProgram();
GLuint vertexShader = shader_compile(GL_VERTEX_SHADER, VERTEX_SHADER);
@@ -154,7 +154,7 @@ bool Renderer::init()
attribute(3, 4, offsetof(Vertex, offset));
white = texture_create(WHITE_SIZE, WHITE_SIZE, &WHITE_PIXEL);
return true;
isValid = true;
}
Texture* Renderer::texture_get(const std::string& path)