mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 17:54:33 +03:00
Fix instructions on disabling librosprite. Move #include for when
librosprite isn't installed svn path=/trunk/netsurf/; revision=4054
This commit is contained in:
parent
99dea0939b
commit
0ab7a1bd37
@ -62,11 +62,13 @@
|
||||
Compiling Sprite file support for GTK
|
||||
=======================================
|
||||
By default, sprite rendering is enabled. This requires librosprite to be
|
||||
built and installed. If you don't want to do this, sprite rendering can be
|
||||
disabled by deleting the following line in utils/config.h:
|
||||
built and installed. If you don't want to do this, remove the following line
|
||||
from util/config.h:
|
||||
|
||||
#define WITH_NSSPRITE
|
||||
|
||||
Remove all references to librosprite in the Makefile.
|
||||
|
||||
To build librosprite, check out from svn://svn.rjek.com/jshaw/libsprite/trunk
|
||||
Build and install it:
|
||||
|
||||
|
@ -34,6 +34,8 @@
|
||||
|
||||
#ifdef WITH_NSSPRITE
|
||||
|
||||
#include <librosprite.h>
|
||||
|
||||
#define ERRCHK(x) do { \
|
||||
rosprite_error err = x; \
|
||||
if (err == ROSPRITE_EOF) { \
|
||||
|
Loading…
Reference in New Issue
Block a user