nyt alle 4k, valot poistettu, uusi paletti

This commit is contained in:
Teemu Järvisalo
2025-07-31 21:19:00 +03:00
parent bc263cfcb9
commit 80ca9a1d40
2 changed files with 21 additions and 54 deletions

View File

@ -123,14 +123,7 @@ int __cdecl main(int argc, char* argv[])
// Play sound
direct_sound_buffer->Play(0, 0, 0);
struct Vec3 {
float x, y, z;
};
PFNGLUNIFORM1FVPROC glUniform1fvProc = ((PFNGLUNIFORM1FVPROC)wglGetProcAddress("glUniform1fv"));
PFNGLACTIVETEXTUREPROC glActiveTexture = ((PFNGLACTIVETEXTUREPROC)wglGetProcAddress("glActiveTexture"));
PFNGLUNIFORM1IPROC glUniform1i = ((PFNGLUNIFORM1IPROC)wglGetProcAddress("glUniform1i"));
PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation = ((PFNGLGETUNIFORMLOCATIONPROC)wglGetProcAddress("glGetUniformLocation"));
const ULONGLONG targetIntervalMs = 1000 / 60; // For 60 FPS FFT updates