Skip to content

Commit

Permalink
Update documentation intro
Browse files Browse the repository at this point in the history
Reflect SyphonClient changes, use current URLs
  • Loading branch information
bangnoise committed Oct 23, 2017
1 parent 4c2635a commit c1e0fc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Syphon.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
Usually you create a client with a server description dictionary you obtained from SyphonServerDirectory:
@code
SyphonClient *myClient = [[SyphonClient alloc] initWithServerDescription:description options:nil newFrameHandler:^(SyphonClient *client) {
SyphonClient *myClient = [[SyphonClient alloc] initWithServerDescription:description context:cgl_ctx options:nil newFrameHandler:^(SyphonClient *client) {
[myView setNeedsDisplay:YES];
}];
@endcode
Expand All @@ -132,7 +132,7 @@
When you are ready to draw:
@code
SyphonImage *myFrame = [myClient newFrameImageForContext:cgl_ctx];
SyphonImage *myFrame = [myClient newFrameImage];
if (myFrame)
{
GLuint tex = myFrame.textureName;
Expand Down Expand Up @@ -171,14 +171,14 @@
@section help More examples and help
Example projects implementing a server and client are included with the Syphon SDK. You can also examine the source to the provided Syphon implementations at their <a href="http://code.google.com/p/syphon-implementations/" target="_blank">Google Code project</a>.
Example projects implementing a server and client are included with the Syphon SDK. You can also examine the source to some Syphon implementations on <a href="https://github.com/Syphon">GitHub</a>.
Use the <a href="http://forums.v002.info/forum.php?id=7" target="_blank">Syphon developer forum</a> to ask questions, and for any development related discussion.
Good luck!
@section framework_dev Framework development
If you'd like to examine the framework's source code, report a bug, or get involved in development, head on over to the <a href="http://code.google.com/p/syphon-framework/" target="_blank">Syphon framework Google Code project.</a>
If you'd like to examine the framework's source code, report a bug, or get involved in development, head on over to the <a href="https://github.com/Syphon/Syphon-Framework">Syphon framework GitHub project.</a>
*/

0 comments on commit c1e0fc1

Please sign in to comment.