Have GLProxy attempt creating contexts with all supported GL versions

This commit is contained in:
James Seibel
2023-10-13 21:56:06 -05:00
parent 78e2b4ff3f
commit 1e5a4d43f7
3 changed files with 128 additions and 83 deletions
@@ -19,6 +19,9 @@
package com.seibel.distanthorizons.coreapi.util;
import java.util.ArrayList;
import java.util.Arrays;
/**
* Miscellaneous string helper functions.
*
@@ -42,6 +45,8 @@ public class StringUtil
return pos;
}
/** @see StringUtil#join(String, Iterable) */
public static <T> String join(String delimiter, T[] list) { return join(delimiter, Arrays.asList(list)); }
/** Combines each item in the given list together separated by the given delimiter. */
public static <T> String join(String delimiter, Iterable<T> list)
{