Skip to content

Commit

Permalink
FIX: const correctness (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
febret committed Dec 15, 2015
1 parent f496371 commit 3137d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/omega/GpuResource.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ namespace omega
GpuContext(GLEWContext* ctx = NULL);
~GpuContext();

uint getId() { return myId; }
uint getId() const { return myId; }
GLEWContext* getGlewContext() { return myGlewContext; }
void makeCurrent();
//void setGlewContext(GLEWContext* ctx) { myGlewContext = ctx; }
Expand Down

0 comments on commit 3137d5e

Please sign in to comment.