Browse Source

Update README.md

nxrighthere 7 years ago
parent
commit
500da4f8d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -137,7 +137,7 @@ OutOfMemoryCallback OnOutOfMemory = () => {
 
 Callbacks callbacks = new Callbacks(OnMemoryAllocate, OnMemoryFree, OnOutOfMemory);
 
-if (ENet.Library.Initialize(ref callbacks) > -1)
+if (ENet.Library.Initialize(callbacks) > -1)
 	Console.WriteLine("ENet successfully initialized using a custom memory allocator");
 ```