Commit 184cc31
ogc: define weak symbols for opengx functions (#82)
This allows building a client application without linking to opengx, if
the client itself does not need OpenGL. The opengx functions used by SDL
are defined as weak, so that they will be used only if a strong symbol
is not found during linking.
$ nm /opt/devkitpro/portlibs/wii/lib/libSDL2.a | grep ogx
00000000 W ogx_get_proc_address
00000000 W ogx_initialize
Partial fix for #811 parent a22a91a commit 184cc31
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
38 | 53 | | |
39 | 54 | | |
40 | 55 | | |
| |||
0 commit comments