summaryrefslogtreecommitdiff
path: root/GLES_common/yagl_host_gles_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'GLES_common/yagl_host_gles_calls.c')
-rw-r--r--GLES_common/yagl_host_gles_calls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/GLES_common/yagl_host_gles_calls.c b/GLES_common/yagl_host_gles_calls.c
index a810c02..df7a628 100644
--- a/GLES_common/yagl_host_gles_calls.c
+++ b/GLES_common/yagl_host_gles_calls.c
@@ -406,6 +406,7 @@ void yagl_host_glGenBuffers(const GLuint *buffers, int32_t buffers_count)
yagl_transport_begin(t, yagl_api_id_gles, 27, 2 * 8, 0 * 8 + yagl_transport_array_size(buffers, buffers_count, sizeof(GLuint)));
yagl_transport_put_out_array(t, buffers, buffers_count, sizeof(GLuint));
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*
@@ -519,6 +520,7 @@ void yagl_host_glGenTextures(const GLuint *textures, int32_t textures_count)
yagl_transport_begin(t, yagl_api_id_gles, 35, 2 * 8, 0 * 8 + yagl_transport_array_size(textures, textures_count, sizeof(GLuint)));
yagl_transport_put_out_array(t, textures, textures_count, sizeof(GLuint));
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*
@@ -976,6 +978,7 @@ void yagl_host_glGenFramebuffers(const GLuint *framebuffers, int32_t framebuffer
yagl_transport_begin(t, yagl_api_id_gles, 63, 2 * 8, 0 * 8 + yagl_transport_array_size(framebuffers, framebuffers_count, sizeof(GLuint)));
yagl_transport_put_out_array(t, framebuffers, framebuffers_count, sizeof(GLuint));
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*
@@ -1167,6 +1170,7 @@ void yagl_host_glGenRenderbuffers(const GLuint *renderbuffers, int32_t renderbuf
yagl_transport_begin(t, yagl_api_id_gles, 76, 2 * 8, 0 * 8 + yagl_transport_array_size(renderbuffers, renderbuffers_count, sizeof(GLuint)));
yagl_transport_put_out_array(t, renderbuffers, renderbuffers_count, sizeof(GLuint));
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*
@@ -1237,6 +1241,7 @@ void yagl_host_glCreateProgram(GLuint program)
yagl_transport_begin(t, yagl_api_id_gles, 81, 1 * 8, 1 * 8);
yagl_transport_put_out_GLuint(t, program);
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*
@@ -1250,6 +1255,7 @@ void yagl_host_glCreateShader(GLuint shader, GLenum type)
yagl_transport_put_out_GLuint(t, shader);
yagl_transport_put_out_GLenum(t, type);
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*
@@ -2644,6 +2650,7 @@ void yagl_host_glDeleteObjects(const GLuint *objects, int32_t objects_count)
yagl_transport_begin(t, yagl_api_id_gles, 180, 2 * 8, 0 * 8 + yagl_transport_array_size(objects, objects_count, sizeof(GLuint)));
yagl_transport_put_out_array(t, objects, objects_count, sizeof(GLuint));
yagl_transport_end(t);
+ yagl_transport_flush(t, NULL);
}
/*