mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-06 23:19:57 +01:00
SecondaryDisplay.kt: Remove redundant SurfaceTexture, preventing log spam
This commit is contained in:
parent
70f9379eef
commit
1830290e55
@ -23,15 +23,12 @@ class SecondaryDisplay(val context: Context) {
|
||||
private val vd: VirtualDisplay
|
||||
|
||||
init {
|
||||
val st = SurfaceTexture(0)
|
||||
st.setDefaultBufferSize(1920, 1080)
|
||||
val vdSurface = Surface(st)
|
||||
vd = displayManager.createVirtualDisplay(
|
||||
"HiddenDisplay",
|
||||
1920,
|
||||
1080,
|
||||
320,
|
||||
vdSurface,
|
||||
null,
|
||||
DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user