git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added name
[swftools.git]
/
lib
/
devices
/
opengl.c
diff --git
a/lib/devices/opengl.c
b/lib/devices/opengl.c
index
a9459a1
..
51a1564
100644
(file)
--- a/
lib/devices/opengl.c
+++ b/
lib/devices/opengl.c
@@
-1,6
+1,7
@@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <math.h>
#include "../gfxdevice.h"
#include "../gfxtools.h"
#include "../gfxdevice.h"
#include "../gfxtools.h"
@@
-448,6
+449,8
@@
void gfxdevice_opengl_init(gfxdevice_t*dev)
dbg("init");
internal_t*i = (internal_t*)rfx_calloc(sizeof(internal_t));
memset(dev, 0, sizeof(gfxdevice_t));
dbg("init");
internal_t*i = (internal_t*)rfx_calloc(sizeof(internal_t));
memset(dev, 0, sizeof(gfxdevice_t));
+
+ dev->name = "opengl";
dev->internal = i;
dev->internal = i;