Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
354af388
Commit
354af388
authored
Sep 09, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix image load
parent
9373cdaf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Examples/Tests/index.ios.js
Examples/Tests/index.ios.js
+1
-1
RNGL/GLCanvas.m
RNGL/GLCanvas.m
+1
-1
No files found.
Examples/Tests/index.ios.js
View file @
354af388
...
@@ -19,7 +19,7 @@ const Tests = React.createClass({
...
@@ -19,7 +19,7 @@ const Tests = React.createClass({
<
HelloGL
width
=
{
64
}
height
=
{
64
}
/>
;
<
HelloGL
width
=
{
64
}
height
=
{
64
}
/>
;
const
txt
=
const
txt
=
<
View
style
=
{{
width
:
800
,
height
:
800
,
position
:
"
relative
"
}}
>
<
View
style
=
{{
width
:
800
,
height
:
800
,
position
:
"
relative
"
,
backgroundColor
:
"
transparent
"
}}
>
{[
0
,
1
,
2
,
3
].
map
(
i
=>
<
Text
style
=
{{
{[
0
,
1
,
2
,
3
].
map
(
i
=>
<
Text
style
=
{{
position
:
"
absolute
"
,
position
:
"
absolute
"
,
top
:
40
+
200
*
i
,
top
:
40
+
200
*
i
,
...
...
RNGL/GLCanvas.m
View file @
354af388
...
@@ -144,7 +144,7 @@ NSString* srcResource (id res)
...
@@ -144,7 +144,7 @@ NSString* srcResource (id res)
}
}
if
(
image
==
nil
)
{
if
(
image
==
nil
)
{
image
=
[[
GLImage
alloc
]
initWithBridge
:
_bridge
withOnLoad
:
^
{
image
=
[[
GLImage
alloc
]
initWithBridge
:
_bridge
withOnLoad
:
^
{
[
self
setNeedsDisplay
];
[
self
requestSyncData
];
}];
}];
image
.
src
=
src
;
image
.
src
=
src
;
images
[
src
]
=
image
;
images
[
src
]
=
image
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment