Browse code

default constructor solved

oscar authored on 16/02/2021 20:43:17
Showing 1 changed files

... ...
@@ -15,11 +15,11 @@ class Shader {
15 15
 public:
16 16
 
17 17
     Shader() : 
18
-    paths_         {},
19
-    name_          {},
20
-    program_       {},
21
-    location_cache_{},
22
-    index_cache_   {}
18
+    program_                       {},
19
+    paths_                         {},
20
+    name_                          {},
21
+    uniform_location_cache_        {},
22
+    uniform_block_index_cache_     {}
23 23
     { 
24 24
     };
25 25
 
... ...
@@ -44,7 +44,7 @@ public:
44 44
     );
45 45
     static void uniform_buffer_delete(std::string const & name);
46 46
     static void ubo_delete(std::string const & name);
47
-    GLuint program(){program_;}
47
+    GLuint program(){return program_;}
48 48
 
49 49
 private:
50 50