build fix

This commit is contained in:
water
2021-08-09 22:05:07 -04:00
parent 9495e91259
commit fb006492c5
2 changed files with 6 additions and 5 deletions
+6 -4
View File
@@ -2,6 +2,8 @@
#include <string>
#include "common/common_types.h"
class Shader {
public:
static constexpr char shader_folder[] = "game/graphics/opengl_renderer/shaders/";
@@ -9,12 +11,12 @@ class Shader {
Shader() = default;
void activate();
bool okay() const { return m_is_okay; }
uint id() const { return m_program; }
u64 id() const { return m_program; }
private:
uint m_frag_shader = 0;
uint m_vert_shader = 0;
uint m_program = 0;
u64 m_frag_shader = 0;
u64 m_vert_shader = 0;
u64 m_program = 0;
bool m_is_okay = false;
};
-1
View File
@@ -184,7 +184,6 @@ void KernelCheckAndDispatch() {
if (time_ms < 4) {
std::this_thread::sleep_for(std::chrono::microseconds(1000));
}
}
}