# SDL: Vita: default window size for tests

**URL:** <https://discourse.libsdl.org/t/sdl-vita-default-window-size-for-tests/32014>\
**Category:** SDL Commits\
**Created:** [July 1, 2021, 10:16pm UTC](https://discourse.libsdl.org/t/sdl-vita-default-window-size-for-tests/32014 "2021-07-01T22:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [July 1, 2021, 10:16pm UTC](https://discourse.libsdl.org/t/sdl-vita-default-window-size-for-tests/32014/1 "2021-07-01T22:16:34Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/89015b9c355520fc2bff14702680c0d4d30c4f4c>

```diff
From 89015b9c355520fc2bff14702680c0d4d30c4f4c Mon Sep 17 00:00:00 2001
From: Ivan Epifanov <[EMAIL REDACTED]>
Date: Tue, 22 Jun 2021 00:09:06 +0300
Subject: [PATCH] Vita: default window size for tests

---
 include/SDL_test_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/SDL_test_common.h b/include/SDL_test_common.h
index 8a92c05cb3..6a49fa0ab1 100644
--- a/include/SDL_test_common.h
+++ b/include/SDL_test_common.h
@@ -37,6 +37,9 @@
 #if defined( __PSP__ )
 #define DEFAULT_WINDOW_WIDTH 480
 #define DEFAULT_WINDOW_HEIGHT 272
+#elif defined( __VITA__ )
+#define DEFAULT_WINDOW_WIDTH 960
+#define DEFAULT_WINDOW_HEIGHT 544
 #else
 #define DEFAULT_WINDOW_WIDTH 640
 #define DEFAULT_WINDOW_HEIGHT 480

```
