Skip to content

Instantly share code, notes, and snippets.

EAGLContext *aContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
if (!aContext) {
aContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
}
(cond (= <some future dynamic path>)
(return-dynamic-content ...)
<other dynamic paths>
(static-files/file-exists? (:uri request)) (return-file ...)
:else (return-404))