tests: Add original author's copyright and reference to shibukawa's fix

This commit is contained in:
Daijiro Fukuda 2022-04-22 11:26:12 +09:00
parent e7a1099a7b
commit 20cc0fa21c

View File

@ -1,5 +1,6 @@
//======================================================================== //========================================================================
// IME test // IME test
// Copyright (c) Camilla Löwy <elmindreda@glfw.org>
// Copyright (c) Daijiro Fukuda <fukuda@clear-code.com> // Copyright (c) Daijiro Fukuda <fukuda@clear-code.com>
// //
// This software is provided 'as-is', without any express or implied // This software is provided 'as-is', without any express or implied
@ -27,6 +28,10 @@
// Left-click clears preedit and toggles IME status. // Left-click clears preedit and toggles IME status.
// Right-click updates preedit cursor position to current cursor position. // Right-click updates preedit cursor position to current cursor position.
// //
// This test code is based on `tests/ime.c` of shibukawa's fix:
// * https://github.com/glfw/glfw/pull/658
// * https://github.com/shibukawa/glfw-1/commit/d36a164423c933948661f3f17576e5a6388ff251
//
//======================================================================== //========================================================================
#define GLAD_GL_IMPLEMENTATION #define GLAD_GL_IMPLEMENTATION