diff options
| author | 2024-11-17 15:26:17 -0500 | |
|---|---|---|
| committer | 2024-11-17 15:26:17 -0500 | |
| commit | 588b6d8bfa1b2efdebf8c424c86f6069cceafa41 (patch) | |
| tree | 545308813e9ae19d3293b78c7cb39555a64c0abe /src/fruits/ctv | |
| parent | 58d38d767442c83e31ae6dbaea7b1fc8ccb00633 (diff) | |
| download | camu-588b6d8bfa1b2efdebf8c424c86f6069cceafa41.tar.gz camu-588b6d8bfa1b2efdebf8c424c86f6069cceafa41.tar.bz2 camu-588b6d8bfa1b2efdebf8c424c86f6069cceafa41.zip | |
Rough subtitles implementation, improve buffers
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits/ctv')
| -rw-r--r-- | src/fruits/ctv/ctv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fruits/ctv/ctv.c b/src/fruits/ctv/ctv.c index 75936eb..5f4a819 100644 --- a/src/fruits/ctv/ctv.c +++ b/src/fruits/ctv/ctv.c @@ -49,6 +49,11 @@ static void onSurfaceCreated(GLFMDisplay *display, s32 width, s32 height) struct ctv *c = (struct ctv *)glfmGetUserData(display); (void)width; (void)height; + GLFMRenderingAPI api = glfmGetRenderingAPI(display); + al_log_info("window_glfm", "Created GLES context of version %s.", + api == GLFMRenderingAPIOpenGLES32 ? "3.2" : + api == GLFMRenderingAPIOpenGLES31 ? "3.1" : + api == GLFMRenderingAPIOpenGLES3 ? "3.0" : "2.0"); if (!c->created) { c->scr.callback = screen_callback; c->scr.userdata = c; |