We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661e5b5 commit 50e8308Copy full SHA for 50e8308
1 file changed
gfx/drivers_shader/shader_gl3.cpp
@@ -13,6 +13,8 @@
13
* If not, see <http://www.gnu.org/licenses/>.
14
*/
15
16
+#include <retro_common_api.h>
17
+
18
#include "shader_gl3.h"
19
#include "glslang_util.h"
20
#include "glslang_util_cxx.h"
@@ -58,7 +60,7 @@ static void gl3_build_default_matrix(float *data)
58
60
data[15] = 1.0f;
59
61
}
62
-extern "C" {
63
+RETRO_BEGIN_DECLS
64
65
void gl3_framebuffer_copy(
66
GLuint fb_id,
@@ -131,7 +133,8 @@ extern "C" {
131
133
return GL_NEAREST_MIPMAP_LINEAR;
132
134
return GL_NEAREST_MIPMAP_NEAREST;
135
-}
136
137
+RETRO_END_DECLS
138
139
GLuint gl3_cross_compile_program(
140
const uint32_t *vertex, size_t vertex_size,
0 commit comments