12 lines
587 B
Diff
12 lines
587 B
Diff
|
--- slime73-sdl-experiments-618662dc9e82/src/video/uikit/SDL_uikitopenglview.m.orig 2015-08-20 16:09:59.000000000 +0200
|
||
|
+++ slime73-sdl-experiments-618662dc9e82/src/video/uikit/SDL_uikitopenglview.m 2015-08-20 16:11:25.000000000 +0200
|
||
|
@@ -99,7 +99,7 @@
|
||
|
|
||
|
CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;
|
||
|
|
||
|
- eaglLayer.opaque = YES;
|
||
|
+ eaglLayer.opaque = SDL_getenv("UIKIT_TRANSPARENT") ? NO : YES;
|
||
|
eaglLayer.drawableProperties = @{
|
||
|
kEAGLDrawablePropertyRetainedBacking:@(retained),
|
||
|
kEAGLDrawablePropertyColorFormat:colorFormat
|