diff options
author | notaz | 2012-01-21 23:22:30 +0200 |
---|---|---|
committer | notaz | 2012-01-21 23:22:30 +0200 |
commit | bb88ec28db0535102b70a7c18ef095cb904e3c6c (patch) | |
tree | 29b8be7a70d4133266e2dba2917b8b8b3bdc30cc /plugins/gpu-gles/gpulib_if.c | |
parent | edee4a7fc46dd881c2a45d14ce569fbfd8336516 (diff) | |
download | pcsx_rearmed-bb88ec28db0535102b70a7c18ef095cb904e3c6c.tar.gz pcsx_rearmed-bb88ec28db0535102b70a7c18ef095cb904e3c6c.tar.bz2 pcsx_rearmed-bb88ec28db0535102b70a7c18ef095cb904e3c6c.zip |
gpu-gles: refactor for caanoo/wiz support
too bad it's unusable there.
Diffstat (limited to 'plugins/gpu-gles/gpulib_if.c')
-rw-r--r-- | plugins/gpu-gles/gpulib_if.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/gpu-gles/gpulib_if.c b/plugins/gpu-gles/gpulib_if.c index 569fff4..ce32aad 100644 --- a/plugins/gpu-gles/gpulib_if.c +++ b/plugins/gpu-gles/gpulib_if.c @@ -626,11 +626,14 @@ void vout_update(void) } } +static struct rearmed_cbs *cbs; + long GPUopen(void **dpy) { int ret; - iResX = 800; iResY = 480; + iResX = cbs->screen_w; + iResY = cbs->screen_h; rRatioRect.left = rRatioRect.top=0; rRatioRect.right = iResX; rRatioRect.bottom = iResY; @@ -657,8 +660,6 @@ long GPUclose(void) return 0; } -static struct rearmed_cbs *cbs; - /* acting as both renderer and vout handler here .. */ void renderer_set_config(const struct rearmed_cbs *cbs_) { |