Commit 4df1cf3d authored by Nikolay Igotti's avatar Nikolay Igotti

Fix Windows build, tweaks.

parent a19a8bda
......@@ -59,6 +59,7 @@ extern "C" jboolean Skiko_GetAWT(JNIEnv *env, JAWT *awt) {
fprintf(stderr, "Cannot find JAWT_GetAWT in %s\n", path);
abort();
}
}
#else
if (!func) {
char jdkHome[FILENAME_MAX];
......@@ -81,7 +82,7 @@ extern "C" jboolean Skiko_GetAWT(JNIEnv *env, JAWT *awt) {
fprintf(stderr, "Cannot find JAWT_GetAWT in %s\n", path);
abort();
}
}
}
#endif
return func(env, awt);
return func(env, awt);
}
\ No newline at end of file
......@@ -109,7 +109,6 @@ open class SkiaWindow : JFrame() {
addComponentListener(object : ComponentAdapter() {
override fun componentResized(e: ComponentEvent) {
println("resize")
layer.reinit()
layer.setSize(width, height)
display()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment