@kmamal/sdl 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.6",
2
+ "version": "0.7.7",
3
3
  "name": "@kmamal/sdl",
4
4
  "description": "SDL bindings for Node.js",
5
5
  "keywords": [
@@ -690,6 +690,12 @@ enum_getControllerButtons (Variant & buttons)
690
690
  ErrorMessage *
691
691
  initialize (Variant & object)
692
692
  {
693
+ // Hints
694
+ {
695
+ SDL_SetHint(SDL_HINT_FRAMEBUFFER_ACCELERATION, "0");
696
+ SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "0");
697
+ }
698
+
693
699
  MAKE_MAP(object);
694
700
 
695
701
  // Init
@@ -704,11 +710,6 @@ initialize (Variant & object)
704
710
  }
705
711
  }
706
712
 
707
- // Hints
708
- {
709
- SDL_SetHint(SDL_HINT_FRAMEBUFFER_ACCELERATION, "0");
710
- }
711
-
712
713
  // Version
713
714
  {
714
715
  Variant version, compile, runtime;