so i have a scroll view and on that scroll view i went to parent a uiview used to draw opengl stuff on it.
i add it with [scrollView addSubview: openglView] and it gets added (i can tell because the array of subviews on the scroll view includes it, and the UI begins to lag)
but the opengl view doesn't show up
it does the drawing code (set break points in the code that does the drawing) and it runs through that fine with no errors
please note that the scroll view is nonscrollable and shouldn't be scrolled while an opengl view is showing
also i tried doing it as a modal view (as i was doing before i used scroll views) and nothing happens at all
the scrollview is as big as 9 uiviews
i'm trying to load it without having to use nibs
and adding the view as you normally would with addSubview
but it would crash on the [context presentRenderbuffer:GL_RENDERBUFFER_OES]; line
i'm not sure what i'm missing or have done wrong...
i add it with [scrollView addSubview: openglView] and it gets added (i can tell because the array of subviews on the scroll view includes it, and the UI begins to lag)
but the opengl view doesn't show up
it does the drawing code (set break points in the code that does the drawing) and it runs through that fine with no errors
please note that the scroll view is nonscrollable and shouldn't be scrolled while an opengl view is showing
also i tried doing it as a modal view (as i was doing before i used scroll views) and nothing happens at all
the scrollview is as big as 9 uiviews
i'm trying to load it without having to use nibs
and adding the view as you normally would with addSubview
but it would crash on the [context presentRenderbuffer:GL_RENDERBUFFER_OES]; line
i'm not sure what i'm missing or have done wrong...