summaryrefslogtreecommitdiff
path: root/src/game/raycast.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-11-28 14:41:22 +0100
committerGitHub <noreply@github.com>2025-11-28 14:41:22 +0100
commit9c05c795d7b59c5ab94fb769f315c712b37df0cd (patch)
tree16cccf8cbb88703de798066a06f94013f89a8a5a /src/game/raycast.cpp
parentf8b92ce3aa08b1445c9f956d8166830946562d12 (diff)
parent3e094f20d4dda90e0356aba3f0abc4b7c7015844 (diff)
Merge pull request #1 from navewindre/windows-compat
Windows compat
Diffstat (limited to 'src/game/raycast.cpp')
-rw-r--r--src/game/raycast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/raycast.cpp b/src/game/raycast.cpp
index c82a3ed..d38eb0a 100644
--- a/src/game/raycast.cpp
+++ b/src/game/raycast.cpp
@@ -126,7 +126,7 @@ U32 ray_trace( TRACE* tr, VEC3 end ) {
}
void draw_player( GAME_DATA* game, PLAYER* pl ) {
- GL_PROGRAM* gl2d = game->shaders.gl2d;
+ GL_SHADER_PROGRAM* gl2d = game->shaders.gl2d;
VEC2 xy = { pl->pos.x, pl->pos.y };
gl_2d_frect( gl2d, xy - VEC2{ 5.f, 5.f }, { 10.f, 10.f }, CLR::RED() );