summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-06-25 00:06:10 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-06-25 00:06:10 +0300
commit0cf5c3d2e4ac482d28cec4ee7ebf0f407d2921aa (patch)
treeba1f47a07f7213a2459d550b417f606f48dfad16 /examples
parentedb37c18b2125e6474020dca9996c62035e6e76a (diff)
Use FF_THREAD_SLICE only
Diffstat (limited to 'examples')
-rw-r--r--examples/example_complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_complex.c b/examples/example_complex.c
index bd337bb..ac136ac 100644
--- a/examples/example_complex.c
+++ b/examples/example_complex.c
@@ -110,7 +110,7 @@ int main(int argc, char *argv[]) {
}
// Allow Kit to use more threads
- Kit_SetHint(KIT_HINT_THREAD_COUNT, SDL_GetCPUCount() <= 2 ? SDL_GetCPUCount() : 2);
+ Kit_SetHint(KIT_HINT_THREAD_COUNT, SDL_GetCPUCount() <= 8 ? SDL_GetCPUCount() : 8);
Kit_SetHint(KIT_HINT_FONT_HINTING, KIT_FONT_HINTING_LIGHT);
// Open up the sourcefile.