commit 71c1df95f3617e8aa6d1d5f1900dc5a94764f022
Author: leszek <leszek@koltunski.pl>
Date:   Sun Nov 30 00:14:01 2025 +0100

    fixes to be able to compile multiplatform branch.

diff --git a/src/main/java/org/distorted/library/main/DistortedLibrary.kt b/src/main/java/org/distorted/library/main/DistortedLibrary.kt
index 68ae97b..24ff122 100644
--- a/src/main/java/org/distorted/library/main/DistortedLibrary.kt
+++ b/src/main/java/org/distorted/library/main/DistortedLibrary.kt
@@ -1020,7 +1020,7 @@ object DistortedLibrary
      * @param user The Code which will be using this library, which must implement the LibraryUser interface.
      * @param queueSize the size of the FBO queue, a workaround for the bug on Mali drivers. Use a small integer - 1,...,4
      */
-    fun onSurfaceCreated(user: LibraryUser, queueSize: Int = 4)
+    fun onSurfaceCreated(user: LibraryUser, queueSize: Int)
     {
         mUser = user
         val version = version
@@ -1085,6 +1085,7 @@ object DistortedLibrary
             mUser.distortedException(ex)
         }
     }
+    fun onSurfaceCreated(user: LibraryUser) = onSurfaceCreated(user,4)
 
     ///////////////////////////////////////////////////////////////////////////////////////////////////
     /**
@@ -1111,10 +1112,11 @@ object DistortedLibrary
      * @param id id of an Activity that is using the library; anything unique so that the Library can
      * tell between Activities in case you're going to be using it from more than one.
      */
-    fun onCreate(id: Long = 0)
+    fun onCreate(id: Long)
     {
         InternalStackFrameList.onCreate(id)
     }
+    fun onCreate() = onCreate(0)
 
     ///////////////////////////////////////////////////////////////////////////////////////////////////
     /**
@@ -1124,10 +1126,11 @@ object DistortedLibrary
      * @param id id of an Activity that is using the library; anything unique so that the Library can
      * tell between Activities in case you're going to be using it from more than one.
      */
-    fun onResume(id: Long = 0)
+    fun onResume(id: Long)
     {
         InternalStackFrameList.onResume(id)
     }
+    fun onResume() = onResume(0)
 
     ///////////////////////////////////////////////////////////////////////////////////////////////////
     /**
@@ -1137,7 +1140,7 @@ object DistortedLibrary
      * @param id id of an Activity that is using the library; anything unique so that the Library can
      * tell between Activities in case you're going to be using it from more than one.
      */
-    fun onPause(id: Long = 0)
+    fun onPause(id: Long)
     {
         InternalStackFrameList.onPause(id)
 
@@ -1163,6 +1166,7 @@ object DistortedLibrary
         mBlitDepthProgram = null
         mBlitProgram = null
     }
+    fun onPause() = onPause(0)
 
     ///////////////////////////////////////////////////////////////////////////////////////////////////
     /**
@@ -1172,13 +1176,14 @@ object DistortedLibrary
      * @param id id of an Activity that is using the library; anything unique so that the Library can
      * tell between Activities in case you're going to be using it from more than one.
      */
-    fun onDestroy(id: Long = 0)
+    fun onDestroy(id: Long)
     {
         if (isInitialized)
         {
             InternalStackFrameList.onDestroy(id)
         }
     }
+    fun onDestroy() = onDestroy(0)
 
     ///////////////////////////////////////////////////////////////////////////////////////////////////
     /**
