aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles
diff options
context:
space:
mode:
authornotaz2012-07-29 03:23:29 +0300
committernotaz2012-07-29 18:09:56 +0300
commit38c2028e228dcf17f3b4b0ac7e6984d1e1c6df79 (patch)
tree0586fc12ec0b0b1a7ca160ebbd3404c3fd1bfdd5 /plugins/gpu-gles
parent96751f36c7867567d4d8c612c78f235392d1f243 (diff)
downloadpcsx_rearmed-38c2028e228dcf17f3b4b0ac7e6984d1e1c6df79.tar.gz
pcsx_rearmed-38c2028e228dcf17f3b4b0ac7e6984d1e1c6df79.tar.bz2
pcsx_rearmed-38c2028e228dcf17f3b4b0ac7e6984d1e1c6df79.zip
frontend: initial libretro support
..and some refactoring
Diffstat (limited to 'plugins/gpu-gles')
-rw-r--r--plugins/gpu-gles/gpulib_if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gpu-gles/gpulib_if.c b/plugins/gpu-gles/gpulib_if.c
index c669b63..ce7f00d 100644
--- a/plugins/gpu-gles/gpulib_if.c
+++ b/plugins/gpu-gles/gpulib_if.c
@@ -702,7 +702,8 @@ void vout_set_config(const struct rearmed_cbs *cbs)
void SetAspectRatio(void)
{
- cbs->pl_get_layer_pos(&rRatioRect.left, &rRatioRect.top, &rRatioRect.right, &rRatioRect.bottom);
+ if (cbs->pl_get_layer_pos)
+ cbs->pl_get_layer_pos(&rRatioRect.left, &rRatioRect.top, &rRatioRect.right, &rRatioRect.bottom);
glScissor(rRatioRect.left,
iResY-(rRatioRect.top+rRatioRect.bottom),