diff options
| author | 2009-06-17 16:52:59 -0700 | |
|---|---|---|
| committer | 2009-06-17 16:52:59 -0700 | |
| commit | 9c54bdbf458e3c9433d237ae71cf47c4ec47d852 (patch) | |
| tree | 5c740a213b3ac7518184f53692191d0f3cd8cc48 /libs/rs/rsProgramFragment.cpp | |
| parent | b37c0a5db65cd8b72cac6a3250faddd1aecb722e (diff) | |
Implement default programs and implement defaults and parents for imports.
Diffstat (limited to 'libs/rs/rsProgramFragment.cpp')
| -rw-r--r-- | libs/rs/rsProgramFragment.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsProgramFragment.cpp b/libs/rs/rsProgramFragment.cpp index 316e7916ff98..8777335ae800 100644 --- a/libs/rs/rsProgramFragment.cpp +++ b/libs/rs/rsProgramFragment.cpp @@ -148,6 +148,11 @@ ProgramFragmentState::~ProgramFragmentState() } +void ProgramFragmentState::init(Context *rsc, int32_t w, int32_t h) +{ + ProgramFragment *pf = new ProgramFragment(NULL, NULL); + mDefault.set(pf); +} namespace android { |