Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nikie

Pages: [1]
1
System / Re: Adapting the Hitbox to rotation (rotate sf::FloatRect)
« on: May 29, 2015, 02:24:44 am »
Is it possible to place the box in front of the sprite? Might be good enough and would make sense since you have rays of sorts, which are like a balls of energy with a trail (so there's no need for the trail to have collision).

2
DotNet / OpenTK AccessViolationException on any OpenGL call
« on: May 27, 2015, 09:58:24 pm »
The simplest OpenGL calls through OpenTK are crashing with
Quote
An unhandled exception of type 'System.AccessViolationException' occurred in OpenTK.dll

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Crashes with any combination of precompiled CSFML+.Net - 2.0, 2.1, 2.2 and with latest 2.3 git sources.
Also tried switching OpenTK from latest git version to precompiled binaries from OpenTK website - same crash.
Win7 and VS2015RC (I think it also crashed with 2013, can't say for sure).
NVidia 650TI, latest 352.86 (Witcher 3) drivers, same thing with 350.12 (GTAV) drivers. OpenGL - 4.5.
Also reported here on github by another fellow.

I also noticed that when you create a window with OpenTK the context has IsCurrent set to true, while with SFML it's false.

Minimal code, the beginning is a copy of Window example:
(click to show/hide)

Pages: [1]