Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Cached shader loader keeps reading garbage #740

Closed

Description

@ljbade

For some reason the cached GL program binary loader keeps reading garbage from the cache file. I have added some checks to stop this crashing the app, but I need to figure out why it is reading garbage in the first place.

The relevant code is fairly simple C++ iostreams code so I don't see why it is going crazy. See https://github.com/mapbox/mapbox-gl-native/blob/master/src/mbgl/shader/shader.cpp#L28-L37

Activity

  1. added
    Android
    on Jan 7, 2015
  2. ljbade commented on Jan 12, 2015

    @ljbade
    ContributorAuthor

    OK discovered this issue also occurs on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions