X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpu-gles%2Fgpulib_if.c;h=ab95c6417c8a9fdef877698b79c76647d909dd4b;hb=d0475b22f3eb5c1b1b4daaf0b1f0ab7e4fb5dc7e;hp=24488e9e83d7d9ccc9258943d546401ecae8c9dd;hpb=3b7b00650a53bc493c7da7d69ad54e1a25111ebf;p=pcsx_rearmed.git diff --git a/plugins/gpu-gles/gpulib_if.c b/plugins/gpu-gles/gpulib_if.c index 24488e9e..ab95c641 100644 --- a/plugins/gpu-gles/gpulib_if.c +++ b/plugins/gpu-gles/gpulib_if.c @@ -514,14 +514,15 @@ void renderer_notify_res_change(void) { } -void renderer_notify_scanout_x_change(int x, int w) +void renderer_notify_scanout_change(int x, int y) { } extern const unsigned char cmd_lengths[256]; // XXX: mostly dupe code from soft peops -int do_cmd_list(unsigned int *list, int list_len, int *last_cmd) +int do_cmd_list(uint32_t *list, int list_len, + int *cycles_sum_out, int *cycles_last, int *last_cmd) { unsigned int cmd, len; unsigned int *list_start = list; @@ -679,7 +680,7 @@ void vout_set_config(const struct rearmed_cbs *cbs) static struct rearmed_cbs *cbs; -long GPUopen(void **dpy) +long GPUopen(unsigned long *disp, char *cap, char *cfg) { int ret; @@ -738,7 +739,7 @@ void renderer_set_config(const struct rearmed_cbs *cbs_) if (is_opened && cbs->gles_display != NULL && cbs->gles_surface != NULL) { // HACK.. GPUclose(); - GPUopen(NULL); + GPUopen(NULL, NULL, NULL); } set_vram(gpu.vram);