~savilerow-team/savilerow/unity-system-compositor-spinner-custom

« back to all changes in this revision

Viewing changes to spinner/eglspinner.c

  • Committer: Chris Wayne
  • Date: 2014-06-30 19:46:39 UTC
  • Revision ID: chris.wayne@canonical.com-20140630194639-1om6atsvdc6c9t7d
Custom spinner

Show diffs side-by-side

added added

removed removed

Lines of Context:
362
362
 
363
363
    // create and upload spinner-artwork
364
364
    glGenTextures(2, texture);
365
 
    uploadTexture(texture[0], PKGDATADIR "/spinner-glow.png");
366
 
    uploadTexture(texture[1], PKGDATADIR "/spinner-logo.png");
 
365
    uploadTexture(texture[0],  "/custom/usr/share/spinner-glow.png");
 
366
    uploadTexture(texture[1],  "/custom/usr/share/spinner-logo.png");
367
367
 
368
368
    // bunch of shader-attributes to enable
369
369
    glVertexAttribPointer(vpos[0], 2, GL_FLOAT, GL_FALSE, 0, vertices);