Polygon-mode, better shader-compile-error log, material variable 'casts_shadow'

This commit is contained in:
2026-02-04 10:43:22 +01:00
parent 4394179a71
commit efa2c274f3
4 changed files with 49 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ create_shader :: proc(renderer: ^Renderer, type: Shader_Type, path: string) -> (
s.path = path
when RENDER_BACKEND_OPENGL {
shader_opengl, ok := opengl_create_shader(renderer, type, bytes)
shader_opengl, ok := opengl_create_shader(renderer, type, path, bytes)
if !ok {
return {}, false
}