fix building of tests

This commit is contained in:
Bixilon 2023-01-26 22:15:11 +01:00
parent 6fc6ad5a5b
commit 08f9ef56d1
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -1,6 +1,6 @@
/* /*
* Minosoft * Minosoft
* Copyright (C) 2020-2022 Moritz Zwerger * Copyright (C) 2020-2023 Moritz Zwerger
* *
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
* *
@ -13,6 +13,7 @@
package de.bixilon.minosoft.gui.rendering.system.window.dummy package de.bixilon.minosoft.gui.rendering.system.window.dummy
import de.bixilon.kotlinglm.vec2.Vec2
import de.bixilon.kotlinglm.vec2.Vec2i import de.bixilon.kotlinglm.vec2.Vec2i
import de.bixilon.kutil.observer.DataObserver.Companion.observed import de.bixilon.kutil.observer.DataObserver.Companion.observed
import de.bixilon.kutil.time.TimeUtil import de.bixilon.kutil.time.TimeUtil
@ -23,6 +24,7 @@ import de.bixilon.minosoft.gui.rendering.util.vec.vec2.Vec2iUtil.EMPTY
import java.nio.ByteBuffer import java.nio.ByteBuffer
class DummyWindow : BaseWindow { class DummyWindow : BaseWindow {
override val systemScale: Vec2 = Vec2(1.0f)
override var size: Vec2i = Vec2i.EMPTY override var size: Vec2i = Vec2i.EMPTY
override var minSize: Vec2i = Vec2i.EMPTY override var minSize: Vec2i = Vec2i.EMPTY
override var maxSize: Vec2i = Vec2i.EMPTY override var maxSize: Vec2i = Vec2i.EMPTY