glfw3 0.4.6 → 0.4.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.
- checksums.yaml +4 -4
- data/ext/glfw3/glfw3.c +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4b5e2ee0354fd53b72eb956db0b8a8a32884d7d
|
|
4
|
+
data.tar.gz: 8b02a81ac064c35fa885121ff7c55aaa0e47ccfd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eb395cf41d4be70b8b17da7cf24e46a4040e098d5a69966715a1c34ed78b67d29e9924cb08d91942a4f20d55c0a8fb00b968b7dfbd74fc1106a97a82d83c27c
|
|
7
|
+
data.tar.gz: 81de4b3cc95e4c7e5b82e4e845bf16c7183076a84277960f7797085d12be77181055d7c997f6cd42071b8dec41da725c74a387959dd24c66c1dda34328fcf86c
|
data/ext/glfw3/glfw3.c
CHANGED
|
@@ -531,9 +531,9 @@ static VALUE rb_monitor_set_gamma_ramp(VALUE self, VALUE ramp_hash)
|
|
|
531
531
|
ramp.blue = &ramp_buffer[ramp_len * 2];
|
|
532
532
|
|
|
533
533
|
for (; ramp_index < ramp_len; ++ramp_index) {
|
|
534
|
-
ramp.red[ramp_index] = (unsigned short)
|
|
535
|
-
ramp.green[ramp_index] = (unsigned short)
|
|
536
|
-
ramp.blue[ramp_index] = (unsigned short)
|
|
534
|
+
ramp.red[ramp_index] = (unsigned short)NUM2UINT(rb_ary_entry(rb_red, ramp_index));
|
|
535
|
+
ramp.green[ramp_index] = (unsigned short)NUM2UINT(rb_ary_entry(rb_green, ramp_index));
|
|
536
|
+
ramp.blue[ramp_index] = (unsigned short)NUM2UINT(rb_ary_entry(rb_blue, ramp_index));
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
ramp.size = ramp_len;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: glfw3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Noel Raymond Cower
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-04-
|
|
11
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: GLFW 3 bindings for Ruby 2.x
|
|
14
14
|
email: ncower@gmail.com
|