refactor: cshader class to sshader struct (#10324)
This commit is contained in:
parent
7a971735af
commit
22b12e3013
4 changed files with 29 additions and 30 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#include "Shader.hpp"
|
||||
|
||||
CShader::~CShader() {
|
||||
SShader::~SShader() {
|
||||
destroy();
|
||||
}
|
||||
|
||||
void CShader::destroy() {
|
||||
void SShader::destroy() {
|
||||
if (program == 0)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue