Add raspberries and sugar to a small saucepan. Set on the stove over medium heat. As the berries start to cook and soften, mash them into the sugar to combine.
Slowly pour the slurry into the raspberry mixture while whisking constantly. Allow to come to a boil and cook, whisking often, until mixture has thickened.