refactor: cshader class to sshader struct (#10324)

This commit is contained in:
davc0n 2025-05-08 00:07:35 +02:00 committed by GitHub
parent 7a971735af
commit 22b12e3013
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 30 deletions

View file

@ -1,10 +1,10 @@
#include "Shader.hpp"
CShader::~CShader() {
SShader::~SShader() {
destroy();
}
void CShader::destroy() {
void SShader::destroy() {
if (program == 0)
return;