mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-11 11:53:29 +00:00
add return code for some stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@156 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -49,7 +49,7 @@ typedef struct opengl {
|
||||
} opengl_t;
|
||||
#endif
|
||||
|
||||
static void create(MwWidget handle) {
|
||||
static int create(MwWidget handle) {
|
||||
opengl_t* o = malloc(sizeof(*o));
|
||||
#ifdef _WIN32
|
||||
PIXELFORMATDESCRIPTOR pfd;
|
||||
@@ -107,6 +107,8 @@ static void create(MwWidget handle) {
|
||||
handle->lowlevel->copy_buffer = 0;
|
||||
|
||||
MwSetDefault(handle);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void destroy(MwWidget handle) {
|
||||
|
||||
Reference in New Issue
Block a user